Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008965/0.0008965, allocations: 93.83 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.844e-05, allocations: 8 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.09338, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.4466, allocations: 79.17 MB / 466.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4469, allocations: 71.95 kB / 466.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.4634, allocations: 5.917 MB / 472.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4635, allocations: 8 kB / 472.6 MB, free: 9.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.4635, allocations: 4 kB / 472.6 MB, free: 9.648 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001006/0.4645, allocations: 0.5721 MB / 473.2 MB, free: 9.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4646, allocations: 8.031 kB / 473.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.936e-05/0.4646, allocations: 31.62 kB / 473.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.465, allocations: 267.5 kB / 473.5 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.465, allocations: 8 kB / 473.5 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.4651, allocations: 16 kB / 473.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003211/0.4654, allocations: 157.1 kB / 473.7 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.4658, allocations: 234.2 kB / 473.9 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4659, allocations: 0 / 473.9 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.4659, allocations: 0 / 473.9 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4659, allocations: 8 kB / 473.9 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.4676, allocations: 1.058 MB / 475 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.4679, allocations: 134.7 kB / 475.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.468, allocations: 48.86 kB / 475.2 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.4681, allocations: 3.984 kB / 475.2 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.4683, allocations: 130 kB / 475.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.4683, allocations: 0 / 475.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006731/0.469, allocations: 194.2 kB / 475.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/0.4691, allocations: 110.8 kB / 475.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.4693, allocations: 220.5 kB / 475.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.4694, allocations: 25.7 kB / 475.8 MB, free: 6.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.4695, allocations: 199.6 kB / 476 MB, free: 5.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.4696, allocations: 39.45 kB / 476.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.4696, allocations: 0 / 476.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4697, allocations: 330.8 kB / 476.4 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.682e-05/0.4698, allocations: 56.23 kB / 476.4 MB, free: 5.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.47, allocations: 146 kB / 476.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.4701, allocations: 67.94 kB / 476.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4701, allocations: 4 kB / 476.7 MB, free: 5.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006569/0.4708, allocations: 279.1 kB / 476.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.4708, allocations: 41.64 kB / 477 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4708, allocations: 4 kB / 477 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.4711, allocations: 52.83 kB / 477 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.4713, allocations: 63.95 kB / 477.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.4728, allocations: 1.456 MB / 478.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.4732, allocations: 51.72 kB / 478.6 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.4732, allocations: 12 kB / 478.6 MB, free: 3.211 MB / 346.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete 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 (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.0001037/0.4733, allocations: 120.9 kB / 478.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.4734, allocations: 23.72 kB / 478.7 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.4734, allocations: 21.83 kB / 478.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4734, allocations: 4 kB / 478.8 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4734, allocations: 0 / 478.8 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4734, allocations: 3.938 kB / 478.8 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.4737, allocations: 258 kB / 479 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4737, allocations: 0 / 479 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.4738, allocations: 23.98 kB / 479 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.474, allocations: 56.78 kB / 479.1 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.474, allocations: 4.188 kB / 479.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.4753, allocations: 1.448 MB / 480.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4753, allocations: 4.062 kB / 480.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.4758, allocations: 217.5 kB / 480.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/0.4759, allocations: 108.8 kB / 480.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.4759, allocations: 7.938 kB / 480.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.4762, allocations: 35.91 kB / 480.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.4763, allocations: 31.95 kB / 481 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.4763, allocations: 0 / 481 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.4765, allocations: 172.5 kB / 481.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4765, allocations: 4 kB / 481.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.4768, allocations: 71.84 kB / 481.2 MB, free: 436 kB / 346.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) * 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 (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.000164/0.477, allocations: 99.2 kB / 481.3 MB, free: 328 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.4775, allocations: 313.9 kB / 481.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4775, allocations: 0.8125 kB / 481.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.4777, allocations: 173.7 kB / 481.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.4779, allocations: 36.45 kB / 481.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.4785, allocations: 264 kB / 482.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.4788, allocations: 0.7599 MB / 482.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.4789, allocations: 26.06 kB / 482.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.4789, allocations: 15.44 kB / 482.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.479, allocations: 4 kB / 482.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Templates: time 0.006579/0.4855, allocations: 3.255 MB / 486.1 MB, free: 11.43 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches