Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 111.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 207.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2477, allocations: 50.54 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003651/0.2514, allocations: 2.947 MB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2525, allocations: 0.7479 MB / 413.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.2527, allocations: 4 kB / 413.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2528, allocations: 47.5 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.253, allocations: 111.2 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.2533, allocations: 119.8 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.2538, allocations: 422.4 kB / 414.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.254, allocations: 127.1 kB / 414.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2542, allocations: 155.4 kB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.2544, allocations: 175.2 kB / 414.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.2544, allocations: 40 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.2545, allocations: 40 kB / 414.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.2546, allocations: 83.69 kB / 415 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.2548, allocations: 175.2 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.2552, allocations: 451.6 kB / 415.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2552, allocations: 0 / 415.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2552, allocations: 4 kB / 415.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2552, allocations: 4 kB / 415.6 MB, free: 11.96 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00125/0.2565, allocations: 0.6653 MB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2565, allocations: 12.03 kB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.2566, allocations: 36.47 kB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.257, allocations: 307.5 kB / 416.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.257, allocations: 20.94 kB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.257, allocations: 24.36 kB / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.2578, allocations: 335.9 kB / 417 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2578, allocations: 0 / 417 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.2578, allocations: 12 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2578, allocations: 4 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008171/0.2587, allocations: 290 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.2605, allocations: 1.143 MB / 418.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.2613, allocations: 246.6 kB / 418.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.2617, allocations: 108.8 kB / 418.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.2617, allocations: 0 / 418.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/0.2622, allocations: 185.8 kB / 418.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.2622, allocations: 0 / 418.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002398/0.2646, allocations: 0.674 MB / 419.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.2647, allocations: 106.8 kB / 419.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.2649, allocations: 286.6 kB / 420 MB, free: 7.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.265, allocations: 33.7 kB / 420 MB, free: 7.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2651, allocations: 199.6 kB / 420.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.2651, allocations: 47.39 kB / 420.3 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.2652, allocations: 45.94 kB / 420.3 MB, free: 6.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2654, allocations: 334.8 kB / 420.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.2657, allocations: 104.4 kB / 420.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.2662, allocations: 217.2 kB / 421 MB, free: 6.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.2669, allocations: 323.4 kB / 421.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2669, allocations: 0 / 421.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00126/0.2682, allocations: 487.5 kB / 421.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.2682, allocations: 33.64 kB / 421.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2682, allocations: 4 kB / 421.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.2686, allocations: 88.8 kB / 421.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.2688, allocations: 47.97 kB / 421.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.2716, allocations: 2.072 MB / 424 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.272, allocations: 55.78 kB / 424 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.272, allocations: 15.98 kB / 424.1 MB, free: 2.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.2722, allocations: 153.7 kB / 424.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.2722, allocations: 23.72 kB / 424.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.2723, allocations: 25.83 kB / 424.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2723, allocations: 0 / 424.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2723, allocations: 0 / 424.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.2724, allocations: 104.8 kB / 424.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.2724, allocations: 11.94 kB / 424.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.2727, allocations: 27.97 kB / 424.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.2728, allocations: 19.97 kB / 424.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001341/0.2741, allocations: 441.4 kB / 424.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001094/0.2752, allocations: 0.51 MB / 425.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003351/0.2756, allocations: 99.98 kB / 425.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.2758, allocations: 201.9 kB / 425.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2758, allocations: 0 / 425.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.2771, allocations: 0.4885 MB / 426.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009723/0.278, allocations: 0.9568 MB / 427.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Templates: time 0.00781/0.2859, allocations: 4.219 MB / 431.3 MB, free: 11.57 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches