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.001765/0.001765, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002091/0.002091, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001613/0.001613, allocations: 47.92 kB / 378.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2451, allocations: 53.36 MB / 431.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004924/0.2501, allocations: 3.242 MB / 434.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2516, allocations: 0.818 MB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2518, allocations: 7.938 kB / 435.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.252, allocations: 63.42 kB / 435.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.2522, allocations: 115 kB / 435.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.2526, allocations: 131.8 kB / 436 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.2531, allocations: 450.2 kB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.2534, allocations: 120.3 kB / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.2537, allocations: 171.4 kB / 436.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.2539, allocations: 179.2 kB / 436.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.254, allocations: 44 kB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.2541, allocations: 48 kB / 437 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-05/0.2542, allocations: 91.69 kB / 437.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.2543, allocations: 195.1 kB / 437.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.2549, allocations: 0.511 MB / 437.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2549, allocations: 0 / 437.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2549, allocations: 0 / 437.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.2549, allocations: 0 / 437.8 MB, free: 0.75 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.00109/0.256, allocations: 0.5986 MB / 438.4 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.256, allocations: 8.031 kB / 438.4 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.2562, allocations: 48.69 kB / 438.5 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.2567, allocations: 257.8 kB / 438.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.2567, allocations: 32.97 kB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.2568, allocations: 32.36 kB / 438.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.2574, allocations: 353.4 kB / 439.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2575, allocations: 0 / 439.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.2575, allocations: 12 kB / 439.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2575, allocations: 8 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006215/0.2581, allocations: 270.5 kB / 439.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.2602, allocations: 1.218 MB / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.2608, allocations: 206.6 kB / 440.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.2611, allocations: 92.75 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2611, allocations: 0 / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.2611, allocations: 38.56 kB / 440.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.2611, allocations: 4 kB / 441 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002129/0.2633, allocations: 0.5583 MB / 441.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.2633, allocations: 55.41 kB / 441.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.2636, allocations: 300.2 kB / 441.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2637, allocations: 29.7 kB / 441.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.2638, allocations: 220.2 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.2639, allocations: 55.53 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.264, allocations: 53.66 kB / 442.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2641, allocations: 334.8 kB / 442.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.2644, allocations: 83.89 kB / 442.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.2646, allocations: 166.2 kB / 442.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.2651, allocations: 252.7 kB / 443 MB, free: 11.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.2651, allocations: 4 kB / 443 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001008/0.2662, allocations: 394 kB / 443.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2662, allocations: 16 kB / 443.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2662, allocations: 0 / 443.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.2666, allocations: 104.8 kB / 443.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.2668, allocations: 47.92 kB / 443.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.27, allocations: 2.073 MB / 445.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.2703, allocations: 35.84 kB / 445.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2703, allocations: 12 kB / 445.7 MB, free: 8.434 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.0001915/0.2705, allocations: 157.7 kB / 445.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.2705, allocations: 23.86 kB / 445.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.2706, allocations: 29.84 kB / 445.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.2706, allocations: 3.938 kB / 445.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.2706, allocations: 0 / 445.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2706, allocations: 0 / 445.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.2719, allocations: 0.7003 MB / 446.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2719, allocations: 4 kB / 446.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.272, allocations: 11.98 kB / 446.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003422/0.2723, allocations: 96.8 kB / 446.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.2724, allocations: 7.922 kB / 446.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.2753, allocations: 2.047 MB / 448.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2753, allocations: 3.938 kB / 448.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/0.2762, allocations: 412.4 kB / 449.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.2763, allocations: 31.75 kB / 449.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.2763, allocations: 7.984 kB / 449.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.2765, allocations: 23.98 kB / 449.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.2766, allocations: 19.91 kB / 449.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.2766, allocations: 7.938 kB / 449.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.2769, allocations: 211.1 kB / 449.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2769, allocations: 0 / 449.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005227/0.2774, allocations: 87.89 kB / 449.6 MB, free: 4.375 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.0001627/0.2776, allocations: 95.25 kB / 449.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008862/0.2784, allocations: 342.3 kB / 450 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2784, allocations: 0.6875 kB / 450 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.2789, allocations: 226.5 kB / 450.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.2793, allocations: 44.97 kB / 450.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2807, allocations: 0.5583 MB / 450.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.2812, allocations: 0.7714 MB / 451.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.2813, allocations: 26.28 kB / 451.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.2814, allocations: 19.42 kB / 451.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2814, allocations: 0 / 451.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Templates: time 0.008975/0.2904, allocations: 3.876 MB / 455.5 MB, free: 14.36 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/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: 4.633182815974578]