Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 176.5 kB / 17.39 MB, free: 4.184 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.3 MB / 241.4 MB, free: 9.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000808/0.0008079, allocations: 93.61 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003564, allocations: 15.94 kB / 352.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3224, allocations: 50.4 MB / 402.8 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.433, allocations: 80.94 MB / 483.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.4334, allocations: 84.55 kB / 483.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.4496, allocations: 6.188 MB / 490 MB, free: 9.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4497, allocations: 0 / 490 MB, free: 9.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.4497, allocations: 8 kB / 490 MB, free: 9.059 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001066/0.4508, allocations: 0.6395 MB / 490.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4508, allocations: 12.03 kB / 490.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.683e-05/0.4509, allocations: 40.47 kB / 490.7 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.4514, allocations: 325.8 kB / 491 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.4514, allocations: 29.38 kB / 491 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.4515, allocations: 32.38 kB / 491 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.4522, allocations: 394.7 kB / 491.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.4522, allocations: 3.938 kB / 491.4 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.4523, allocations: 16 kB / 491.5 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4523, allocations: 8 kB / 491.5 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/0.4529, allocations: 303.9 kB / 491.8 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.4552, allocations: 1.471 MB / 493.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.4559, allocations: 243.9 kB / 493.5 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.4561, allocations: 108.8 kB / 493.6 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4561, allocations: 0 / 493.6 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4562, allocations: 38.5 kB / 493.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.4562, allocations: 0 / 493.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002283/0.4585, allocations: 0.7911 MB / 494.4 MB, free: 4.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.4585, allocations: 55.67 kB / 494.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.4589, allocations: 307.3 kB / 494.8 MB, free: 4.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.4589, allocations: 29.7 kB / 494.8 MB, free: 3.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.4591, allocations: 231.6 kB / 495 MB, free: 3.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.4592, allocations: 59.19 kB / 495.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.4592, allocations: 8 kB / 495.1 MB, free: 3.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4594, allocations: 338.8 kB / 495.4 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.4596, allocations: 87.95 kB / 495.5 MB, free: 3.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.4599, allocations: 169.3 kB / 495.7 MB, free: 3.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.4603, allocations: 252.2 kB / 495.9 MB, free: 2.773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4604, allocations: 0 / 495.9 MB, free: 2.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001047/0.4614, allocations: 447.1 kB / 496.3 MB, free: 2.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4614, allocations: 9.031 kB / 496.3 MB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4615, allocations: 8.031 kB / 496.4 MB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004995/0.462, allocations: 121.6 kB / 496.5 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.4622, allocations: 43.91 kB / 496.5 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.4662, allocations: 3.287 MB / 499.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.4665, allocations: 43.73 kB / 499.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.4665, allocations: 12 kB / 499.9 MB, free: 14.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.4667, allocations: 153.7 kB / 0.4883 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.4668, allocations: 27.62 kB / 0.4883 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.4668, allocations: 30.3 kB / 0.4883 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4669, allocations: 7.938 kB / 0.4884 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4669, allocations: 4 kB / 0.4884 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4669, allocations: 3.984 kB / 0.4884 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.4673, allocations: 369.3 kB / 0.4887 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4674, allocations: 0 / 0.4887 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.4674, allocations: 15.98 kB / 0.4887 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003648/0.4678, allocations: 113.6 kB / 0.4888 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.4679, allocations: 4 kB / 0.4888 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/0.4713, allocations: 3.186 MB / 0.492 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4714, allocations: 4.062 kB / 0.492 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009483/0.4723, allocations: 455.9 kB / 0.4924 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.4725, allocations: 108.8 kB / 0.4925 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.4725, allocations: 3.984 kB / 0.4925 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.4728, allocations: 27.98 kB / 0.4925 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.4728, allocations: 15.98 kB / 0.4925 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.4729, allocations: 8 kB / 0.4925 GB, free: 9.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002824/0.4732, allocations: 217.9 kB / 0.4928 GB, free: 9.438 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4732, allocations: 0 / 0.4928 GB, free: 9.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005918/0.4738, allocations: 103.7 kB / 0.4929 GB, free: 9.336 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.474, allocations: 99.25 kB / 0.4929 GB, free: 9.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.4752, allocations: 0.5172 MB / 0.4935 GB, free: 8.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4752, allocations: 4.062 kB / 0.4935 GB, free: 8.684 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.4757, allocations: 345.2 kB / 0.4938 GB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.4762, allocations: 48.58 kB / 0.4938 GB, free: 8.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.4776, allocations: 0.686 MB / 0.4945 GB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.4782, allocations: 0.7794 MB / 0.4953 GB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.4784, allocations: 34.91 kB / 0.4953 GB, free: 6.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.4784, allocations: 27.36 kB / 0.4953 GB, free: 6.684 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4784, allocations: 0 / 0.4953 GB, free: 6.684 MB / 378.7 MB Notification: Performance of Templates: time 0.009329/0.4878, allocations: 3.63 MB / 0.4989 GB, free: 3.09 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches