Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 104 kB / 19.6 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 196.9 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 251.4 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] 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) 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.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 47.92 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2418, allocations: 52.15 MB / 421.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004715/0.2465, allocations: 3.203 MB / 424.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.2478, allocations: 0.7673 MB / 425.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.248, allocations: 4 kB / 425.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.2481, allocations: 63.42 kB / 425.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.2484, allocations: 115 kB / 425.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.2487, allocations: 115.8 kB / 425.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.2492, allocations: 450.2 kB / 426 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.2494, allocations: 115.9 kB / 426.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.2496, allocations: 163.4 kB / 426.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.2499, allocations: 183.2 kB / 426.5 MB, free: 10 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.2499, allocations: 44 kB / 426.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.25, allocations: 44 kB / 426.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.2501, allocations: 87.73 kB / 426.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.2503, allocations: 191.1 kB / 426.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.2508, allocations: 0.4993 MB / 427.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2508, allocations: 4 kB / 427.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2508, allocations: 0 / 427.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2508, allocations: 4 kB / 427.3 MB, free: 9.141 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001148/0.252, allocations: 0.6662 MB / 428 MB, free: 8.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.252, allocations: 8.031 kB / 428 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.2521, allocations: 44.7 kB / 428.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.2526, allocations: 303.7 kB / 428.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.2526, allocations: 25.03 kB / 428.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.2526, allocations: 28.38 kB / 428.4 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.2533, allocations: 353.3 kB / 428.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2533, allocations: 0 / 428.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.2534, allocations: 16 kB / 428.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.2534, allocations: 8 kB / 428.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.254, allocations: 270.5 kB / 429 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.2561, allocations: 1.264 MB / 430.3 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.2567, allocations: 287.7 kB / 430.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.257, allocations: 96.75 kB / 430.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.257, allocations: 0 / 430.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.257, allocations: 34.56 kB / 430.7 MB, free: 5.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.257, allocations: 0 / 430.7 MB, free: 5.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002101/0.2591, allocations: 0.6355 MB / 431.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.2592, allocations: 67.39 kB / 431.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.2595, allocations: 283 kB / 431.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.2595, allocations: 33.7 kB / 431.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.2597, allocations: 232.2 kB / 432 MB, free: 4.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.2597, allocations: 47.58 kB / 432 MB, free: 4.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.2598, allocations: 57.66 kB / 432.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.26, allocations: 330.8 kB / 432.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.2602, allocations: 79.95 kB / 432.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.2605, allocations: 162.2 kB / 432.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.2609, allocations: 246.1 kB / 432.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2609, allocations: 0 / 432.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009819/0.2619, allocations: 406 kB / 433.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2619, allocations: 7.938 kB / 433.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2619, allocations: 4 kB / 433.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/0.2624, allocations: 104.8 kB / 433.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2625, allocations: 39.92 kB / 433.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.2656, allocations: 2.181 MB / 435.6 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.2659, allocations: 31.83 kB / 435.6 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.2659, allocations: 8 kB / 435.6 MB, free: 348 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.266, allocations: 157.7 kB / 435.8 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.2661, allocations: 31.81 kB / 435.8 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.2661, allocations: 29.91 kB / 435.8 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2662, allocations: 7.938 kB / 435.9 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.2662, allocations: 0 / 435.9 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2662, allocations: 3.984 kB / 435.9 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.2675, allocations: 0.7172 MB / 436.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2675, allocations: 7.922 kB / 436.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.2675, allocations: 12 kB / 436.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/0.2679, allocations: 101.1 kB / 436.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.2679, allocations: 7.938 kB / 436.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/0.2708, allocations: 2.154 MB / 438.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2708, allocations: 3.938 kB / 438.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008612/0.2717, allocations: 416.4 kB / 439.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.2718, allocations: 104.9 kB / 439.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.2718, allocations: 0 / 439.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.272, allocations: 27.97 kB / 439.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.272, allocations: 7.984 kB / 439.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2721, allocations: 11.94 kB / 439.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.2723, allocations: 210 kB / 439.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2723, allocations: 0 / 439.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004728/0.2728, allocations: 95.83 kB / 439.7 MB, free: 12.01 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.2729, allocations: 99.23 kB / 439.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007534/0.2737, allocations: 330.5 kB / 440.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2737, allocations: 7.938 kB / 440.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.2741, allocations: 222.5 kB / 440.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.2744, allocations: 52.34 kB / 440.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2756, allocations: 0.5875 MB / 441 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.276, allocations: 0.7675 MB / 441.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.2761, allocations: 19.44 kB / 441.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2761, allocations: 0 / 441.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of Templates: time 0.007346/0.2834, allocations: 4.737 MB / 446.5 MB, free: 5.098 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches