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.0009171/0.0009174, allocations: 101.7 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 196.3 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 4 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 51.53 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003327/0.1314, allocations: 2.514 MB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1326, allocations: 0.725 MB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.1328, allocations: 4 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1329, allocations: 35.69 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.1331, allocations: 91.31 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1334, allocations: 67.91 kB / 362.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.1338, allocations: 366.5 kB / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.134, allocations: 101.7 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1342, allocations: 131.4 kB / 362.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1344, allocations: 143.3 kB / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.1345, allocations: 16 kB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.594e-05/0.1345, allocations: 20 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.1346, allocations: 55.77 kB / 362.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.1347, allocations: 77.58 kB / 363 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.135, allocations: 351.2 kB / 363.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.135, allocations: 0 / 363.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.135, allocations: 0 / 363.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.135, allocations: 0 / 363.3 MB, free: 8.727 MB / 302.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.001165/0.1362, allocations: 0.6497 MB / 364 MB, free: 8.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1363, allocations: 12.03 kB / 364 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.459e-05/0.1363, allocations: 31.62 kB / 364 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.1367, allocations: 278.5 kB / 364.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1367, allocations: 16.56 kB / 364.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.1368, allocations: 27.95 kB / 364.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.1375, allocations: 343.6 kB / 364.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1375, allocations: 0 / 364.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.1376, allocations: 15.98 kB / 364.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1376, allocations: 4 kB / 364.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/0.1383, allocations: 314.1 kB / 365 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1403, allocations: 1.174 MB / 366.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.1411, allocations: 286.5 kB / 366.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.1414, allocations: 120.8 kB / 366.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1415, allocations: 4 kB / 366.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.1419, allocations: 189.9 kB / 366.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.983e-06/0.142, allocations: 0 / 366.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002261/0.1442, allocations: 0.7488 MB / 367.5 MB, free: 4.289 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.1443, allocations: 114.8 kB / 367.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.1447, allocations: 286.6 kB / 367.9 MB, free: 3.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1447, allocations: 29.7 kB / 367.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1449, allocations: 203.5 kB / 368.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.1449, allocations: 39.45 kB / 368.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.145, allocations: 4 kB / 368.2 MB, free: 3.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1451, allocations: 334.8 kB / 368.5 MB, free: 3.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.1455, allocations: 120.2 kB / 368.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.1459, allocations: 231.9 kB / 368.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.1463, allocations: 157.6 kB / 369 MB, free: 2.695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1463, allocations: 3.938 kB / 369 MB, free: 2.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001226/0.1475, allocations: 0.5075 MB / 369.5 MB, free: 2.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.1476, allocations: 37.75 kB / 369.5 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1476, allocations: 4 kB / 369.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/0.148, allocations: 88.8 kB / 369.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1482, allocations: 59.91 kB / 369.7 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2575/0.4058, allocations: 1.917 MB / 371.6 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.4063, allocations: 65.23 kB / 371.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.4063, allocations: 11.47 kB / 371.7 MB, free: 18.24 MB / 302.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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.4066, allocations: 149.7 kB / 371.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.4066, allocations: 23.66 kB / 371.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.42e-05/0.4067, allocations: 27.41 kB / 371.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4067, allocations: 5.234 kB / 371.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4067, allocations: 2.891 kB / 371.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4067, allocations: 2.891 kB / 371.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.4071, allocations: 324.2 kB / 372.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4071, allocations: 5.219 kB / 372.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.4073, allocations: 34.2 kB / 372.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.4076, allocations: 85.34 kB / 372.3 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4077, allocations: 5.125 kB / 372.3 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.4098, allocations: 1.814 MB / 374.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4099, allocations: 1.172 kB / 374.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.411, allocations: 410 kB / 374.5 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.411, allocations: 105.7 kB / 374.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.4111, allocations: 4.781 kB / 374.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.4113, allocations: 42.33 kB / 374.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/0.4114, allocations: 23.22 kB / 374.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.4114, allocations: 6.781 kB / 374.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.4117, allocations: 200.9 kB / 374.9 MB, free: 16.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4117, allocations: 0 / 374.9 MB, free: 16.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000473/0.4122, allocations: 74.56 kB / 375 MB, free: 16.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.4123, allocations: 105.8 kB / 375.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.4137, allocations: 0.5278 MB / 375.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4137, allocations: 0 / 375.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.4142, allocations: 259.9 kB / 375.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.4146, allocations: 47.28 kB / 375.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.4178, allocations: 1.094 MB / 377 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.418, allocations: 0.7563 MB / 377.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.4182, allocations: 26.19 kB / 377.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.4183, allocations: 19.95 kB / 377.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4183, allocations: 4.344 kB / 377.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of Templates: time 0.009095/0.4274, allocations: 3.61 MB / 381.4 MB, free: 14.7 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/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