Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 209.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 43.92 kB / 379 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.267, allocations: 53.37 MB / 432.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005825/0.2729, allocations: 2.965 MB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2749, allocations: 0.7752 MB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.2753, allocations: 7.938 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.2756, allocations: 63.42 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.276, allocations: 123 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.2764, allocations: 135.8 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006455/0.2771, allocations: 442.2 kB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.2774, allocations: 120 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.2777, allocations: 171.4 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.278, allocations: 183.2 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.389e-05/0.2781, allocations: 48 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.2782, allocations: 44 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.2783, allocations: 87.69 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.2785, allocations: 171.2 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.2791, allocations: 0.501 MB / 438.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.2791, allocations: 4 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2791, allocations: 3.938 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.2791, allocations: 0 / 438.2 MB, free: 0.8398 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.001334/0.2804, allocations: 0.6006 MB / 438.8 MB, free: 212 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2805, allocations: 8.031 kB / 438.8 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.2807, allocations: 48.69 kB / 438.8 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.2813, allocations: 261.8 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.2813, allocations: 21.03 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.2814, allocations: 32.38 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/0.2821, allocations: 426.5 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2821, allocations: 0 / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.2822, allocations: 16 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2822, allocations: 8 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.2828, allocations: 274.4 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.2848, allocations: 1.07 MB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.2854, allocations: 202.7 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.2856, allocations: 88.75 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.2857, allocations: 7.938 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2857, allocations: 42.48 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2857, allocations: 0 / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002162/0.2879, allocations: 0.5588 MB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2879, allocations: 55.39 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.2882, allocations: 265.8 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2883, allocations: 29.7 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.2884, allocations: 228.1 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.2885, allocations: 59.48 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.761e-05/0.2886, allocations: 45.7 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2887, allocations: 334.8 kB / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.289, allocations: 79.95 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.2892, allocations: 162.2 kB / 443 MB, free: 11.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.2897, allocations: 246.1 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2897, allocations: 3.938 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001011/0.2907, allocations: 404.8 kB / 443.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2907, allocations: 8 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2907, allocations: 4 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/0.2912, allocations: 112.9 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.2914, allocations: 35.92 kB / 443.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.2946, allocations: 2.032 MB / 445.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.2948, allocations: 39.7 kB / 445.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.2949, allocations: 8 kB / 445.9 MB, free: 8.691 MB / 350.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.0001893/0.295, allocations: 159.8 kB / 446.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.2951, allocations: 23.86 kB / 446.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.2952, allocations: 29.77 kB / 446.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2952, allocations: 0 / 446.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2952, allocations: 0 / 446.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2952, allocations: 3.938 kB / 446.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.2966, allocations: 0.6122 MB / 446.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2966, allocations: 8 kB / 446.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.2966, allocations: 11.94 kB / 446.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/0.297, allocations: 96.78 kB / 446.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.297, allocations: 7.938 kB / 446.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.3, allocations: 2.017 MB / 448.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3, allocations: 4.031 kB / 448.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/0.3009, allocations: 408.4 kB / 449.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.301, allocations: 23.84 kB / 449.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.301, allocations: 12 kB / 449.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3012, allocations: 15.98 kB / 449.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.3013, allocations: 19.91 kB / 449.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3013, allocations: 4 kB / 449.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.3015, allocations: 189.2 kB / 449.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3015, allocations: 4 kB / 449.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000519/0.302, allocations: 91.84 kB / 449.6 MB, free: 4.797 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.0001317/0.3022, allocations: 106.1 kB / 449.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008125/0.303, allocations: 334.5 kB / 450.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.303, allocations: 0 / 450.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.3034, allocations: 222.5 kB / 450.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3038, allocations: 36.98 kB / 450.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.305, allocations: 0.5876 MB / 450.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.3052, allocations: 160.8 kB / 451.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.3053, allocations: 19.44 kB / 451.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3053, allocations: 4 kB / 451.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of Templates: time 0.007323/0.3126, allocations: 4.72 MB / 455.8 MB, free: 14.54 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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 [Calling sys.exit(0), Time elapsed: 7.129536134016234]