Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001105, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008822/0.0008823, allocations: 86.47 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002812, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3513, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4747, allocations: 79.14 MB / 455 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/0.4751, allocations: 79.95 kB / 455 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01787/0.493, allocations: 5.679 MB / 460.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4931, allocations: 0 / 460.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.025e-05/0.4931, allocations: 8 kB / 460.7 MB, free: 11.74 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001113/0.4943, allocations: 0.6067 MB / 461.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4943, allocations: 8.031 kB / 461.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.4944, allocations: 31.62 kB / 461.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.4948, allocations: 267.3 kB / 461.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.4948, allocations: 20.39 kB / 461.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.4948, allocations: 20 kB / 461.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/0.4955, allocations: 255.2 kB / 461.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4955, allocations: 0 / 461.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.4955, allocations: 12 kB / 461.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.4956, allocations: 4 kB / 461.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.4963, allocations: 285.6 kB / 462.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.4981, allocations: 0.9362 MB / 463.1 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/0.4989, allocations: 270.5 kB / 463.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.499, allocations: 4 kB / 463.4 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005311/0.4995, allocations: 194 kB / 463.6 MB, free: 8.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.4995, allocations: 4 kB / 463.6 MB, free: 8.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001912/0.5014, allocations: 0.6533 MB / 464.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.5015, allocations: 102.8 kB / 464.4 MB, free: 7.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.5018, allocations: 236.1 kB / 464.6 MB, free: 7.609 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.5018, allocations: 29.7 kB / 464.6 MB, free: 7.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.502, allocations: 171.9 kB / 464.8 MB, free: 7.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.502, allocations: 39.45 kB / 464.8 MB, free: 7.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.502, allocations: 4 kB / 464.8 MB, free: 7.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5022, allocations: 342.8 kB / 465.2 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.5025, allocations: 99.92 kB / 465.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.5028, allocations: 182 kB / 465.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.5032, allocations: 141.6 kB / 465.6 MB, free: 6.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5032, allocations: 4 kB / 465.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001007/0.5042, allocations: 424.7 kB / 466 MB, free: 6.137 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003974/0.5046, allocations: 0.6504 MB / 466.7 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5046, allocations: 0 / 466.7 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.505, allocations: 80.78 kB / 466.7 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.5052, allocations: 47.91 kB / 466.8 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006102/0.5059, allocations: 0.6187 MB / 467.4 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.5062, allocations: 59.86 kB / 467.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.5062, allocations: 11.95 kB / 467.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.5063, allocations: 4 kB / 467.5 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007244/0.507, allocations: 318 kB / 467.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.507, allocations: 8.188 kB / 467.8 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.5071, allocations: 40.83 kB / 467.8 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.5073, allocations: 39.97 kB / 467.9 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.5088, allocations: 1.545 MB / 469.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.5091, allocations: 51.88 kB / 469.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.5091, allocations: 4.438 kB / 469.5 MB, free: 2.445 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002943/0.5094, allocations: 220.9 kB / 469.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.5094, allocations: 23.67 kB / 469.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.5095, allocations: 29.83 kB / 469.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5095, allocations: 0 / 469.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5095, allocations: 4 kB / 469.7 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5095, allocations: 0 / 469.7 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.5099, allocations: 293.5 kB / 470 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5099, allocations: 0 / 470 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.51, allocations: 31.91 kB / 470.1 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.5102, allocations: 73.91 kB / 470.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.5103, allocations: 15.94 kB / 470.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.5122, allocations: 1.659 MB / 471.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5122, allocations: 0 / 471.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.5131, allocations: 373.9 kB / 472.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5132, allocations: 100.9 kB / 472.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.5132, allocations: 0 / 472.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.5135, allocations: 43.97 kB / 472.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.5136, allocations: 27.95 kB / 472.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5136, allocations: 0 / 472.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.5138, allocations: 184.5 kB / 472.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5138, allocations: 0 / 472.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005013/0.5143, allocations: 119.7 kB / 472.6 MB, free: 15.04 MB / 362.7 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.5145, allocations: 111.2 kB / 472.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.5158, allocations: 0.6209 MB / 473.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5158, allocations: 0 / 473.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.5163, allocations: 254.8 kB / 473.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.5166, allocations: 52.36 kB / 473.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5176, allocations: 0.5105 MB / 474.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.518, allocations: 0.7524 MB / 474.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.5181, allocations: 26.3 kB / 475 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.5182, allocations: 15.44 kB / 475 MB, free: 12.6 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5182, allocations: 0 / 475 MB, free: 12.6 MB / 362.7 MB Notification: Performance of Templates: time 0.007564/0.5258, allocations: 3.572 MB / 478.5 MB, free: 9.055 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches