Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 114.5 kB / 17.93 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 189.9 kB / 18.86 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 224.7 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 47.88 kB / 280.8 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1173, allocations: 46.63 MB / 327.4 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004947/0.1223, allocations: 2.788 MB / 330.2 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1238, allocations: 0.6865 MB / 330.9 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.1242, allocations: 4 kB / 330.9 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.1245, allocations: 31.77 kB / 330.9 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.1249, allocations: 79.38 kB / 331 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1252, allocations: 75.92 kB / 331.1 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006078/0.1259, allocations: 370.5 kB / 331.5 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.1261, allocations: 122.9 kB / 331.6 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1263, allocations: 143.4 kB / 331.7 MB, free: 464 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1266, allocations: 163.3 kB / 331.9 MB, free: 300 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.1266, allocations: 36 kB / 331.9 MB, free: 264 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.984e-05/0.1267, allocations: 39.94 kB / 332 MB, free: 224 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.1268, allocations: 75.73 kB / 332 MB, free: 148 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.127, allocations: 163.3 kB / 332.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.1274, allocations: 295.4 kB / 332.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1274, allocations: 0 / 332.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1274, allocations: 0 / 332.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1274, allocations: 0 / 332.5 MB, free: 15.7 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001353/0.1288, allocations: 0.6459 MB / 333.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1288, allocations: 12.03 kB / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.734e-05/0.1289, allocations: 32.56 kB / 333.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.1293, allocations: 272.7 kB / 333.4 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.1293, allocations: 24.94 kB / 333.5 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.1293, allocations: 24.38 kB / 333.5 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.1301, allocations: 307.6 kB / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1301, allocations: 0 / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.1301, allocations: 8 kB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.1301, allocations: 11.97 kB / 333.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.1309, allocations: 253.6 kB / 334 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.1327, allocations: 1.093 MB / 335.1 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/0.1335, allocations: 218.5 kB / 335.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.1338, allocations: 96.78 kB / 335.4 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1339, allocations: 0 / 335.4 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005697/0.1345, allocations: 169.8 kB / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 3.056e-06/0.1345, allocations: 0 / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.00214/0.1366, allocations: 0.5066 MB / 336.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.1367, allocations: 118.8 kB / 336.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.137, allocations: 282.6 kB / 336.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1371, allocations: 29.7 kB / 336.5 MB, free: 11.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1372, allocations: 195.6 kB / 336.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.1373, allocations: 47.39 kB / 336.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.1374, allocations: 53.84 kB / 336.8 MB, free: 11.03 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1375, allocations: 330.8 kB / 337.2 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.1379, allocations: 96.16 kB / 337.2 MB, free: 10.6 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.1383, allocations: 198.1 kB / 337.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.139, allocations: 293.5 kB / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.139, allocations: 3.938 kB / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00116/0.1401, allocations: 436.7 kB / 338.2 MB, free: 9.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.1402, allocations: 33.7 kB / 338.2 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1402, allocations: 0 / 338.2 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/0.1406, allocations: 84.83 kB / 338.3 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1408, allocations: 47.84 kB / 338.3 MB, free: 9.406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.1433, allocations: 1.704 MB / 340 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.1437, allocations: 55.64 kB / 340.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.1438, allocations: 12 kB / 340.1 MB, free: 7.496 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.1439, allocations: 154.3 kB / 340.2 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.144, allocations: 27.72 kB / 340.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.144, allocations: 21.7 kB / 340.3 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1441, allocations: 7.984 kB / 340.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1441, allocations: 0 / 340.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1441, allocations: 0 / 340.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.1444, allocations: 309.2 kB / 340.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1444, allocations: 0 / 340.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.1445, allocations: 23.97 kB / 340.6 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.1448, allocations: 68.81 kB / 340.7 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1448, allocations: 3.984 kB / 340.7 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.147, allocations: 1.707 MB / 342.4 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.147, allocations: 0 / 342.4 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009718/0.148, allocations: 313.4 kB / 342.7 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1481, allocations: 108.8 kB / 342.8 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.1482, allocations: 4 kB / 342.8 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.1484, allocations: 35.95 kB / 342.9 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.1485, allocations: 15.98 kB / 342.9 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.1486, allocations: 11.98 kB / 342.9 MB, free: 4.465 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1488, allocations: 209.8 kB / 343.1 MB, free: 4.258 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1488, allocations: 0 / 343.1 MB, free: 4.258 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.1492, allocations: 75.84 kB / 343.2 MB, free: 4.184 MB / 286.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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001555/0.1493, allocations: 99.25 kB / 343.3 MB, free: 4.074 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1504, allocations: 416.8 kB / 343.7 MB, free: 3.645 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1504, allocations: 8.062 kB / 343.7 MB, free: 3.637 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.1508, allocations: 215.2 kB / 343.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1512, allocations: 53.08 kB / 343.9 MB, free: 3.363 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1523, allocations: 0.5759 MB / 344.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1527, allocations: 0.7557 MB / 345.3 MB, free: 1.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.1528, allocations: 23.44 kB / 345.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1528, allocations: 0 / 345.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of Templates: time 0.007644/0.1604, allocations: 4.392 MB / 349.7 MB, free: 13.55 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches