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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002298/0.002298, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.001635/0.001635, allocations: 51.91 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2347, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004402/0.2391, allocations: 2.951 MB / 426.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2406, allocations: 0.7323 MB / 427.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.2408, allocations: 7.938 kB / 427.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.2409, allocations: 67.42 kB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.2412, allocations: 111 kB / 427.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2415, allocations: 123.8 kB / 427.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.242, allocations: 434.3 kB / 428.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.2422, allocations: 112 kB / 428.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.2424, allocations: 179.3 kB / 428.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.2427, allocations: 151.2 kB / 428.7 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.2427, allocations: 44 kB / 428.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.2428, allocations: 44 kB / 428.8 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.2429, allocations: 91.69 kB / 428.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.243, allocations: 159.3 kB / 429 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.2436, allocations: 0.501 MB / 429.5 MB, free: 8.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2436, allocations: 3.938 kB / 429.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2436, allocations: 0 / 429.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2436, allocations: 0 / 429.5 MB, free: 8.793 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.001155/0.2447, allocations: 0.5909 MB / 430.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2448, allocations: 12.03 kB / 430.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.2449, allocations: 48.64 kB / 430.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.2453, allocations: 241.9 kB / 430.4 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.2454, allocations: 21.03 kB / 430.4 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.2454, allocations: 32.38 kB / 430.5 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.2461, allocations: 430.4 kB / 430.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2462, allocations: 0 / 430.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.2462, allocations: 16 kB / 430.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2462, allocations: 8 kB / 430.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.2468, allocations: 270.5 kB / 431.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.2486, allocations: 1.063 MB / 432.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.2492, allocations: 221.9 kB / 432.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.2494, allocations: 92.75 kB / 432.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2495, allocations: 4 kB / 432.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.2495, allocations: 34.56 kB / 432.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.2495, allocations: 0 / 432.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002056/0.2515, allocations: 0.5564 MB / 433.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2516, allocations: 51.41 kB / 433.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.2519, allocations: 277.8 kB / 433.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2519, allocations: 25.7 kB / 433.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.2521, allocations: 220.2 kB / 433.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.2521, allocations: 51.59 kB / 433.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.2522, allocations: 45.7 kB / 433.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2523, allocations: 334.8 kB / 434.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.2525, allocations: 91.89 kB / 434.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.2528, allocations: 158.3 kB / 434.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.2533, allocations: 245.3 kB / 434.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2533, allocations: 3.938 kB / 434.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009663/0.2542, allocations: 410 kB / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2542, allocations: 8 kB / 435 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2543, allocations: 3.938 kB / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004204/0.2547, allocations: 108.8 kB / 435.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.2548, allocations: 35.98 kB / 435.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.2579, allocations: 2.028 MB / 437.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.2581, allocations: 39.77 kB / 437.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.2581, allocations: 12 kB / 437.2 MB, free: 0.668 MB / 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.0001672/0.2583, allocations: 157.7 kB / 437.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.2583, allocations: 23.86 kB / 437.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.2584, allocations: 25.77 kB / 437.4 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2584, allocations: 4 kB / 437.4 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2584, allocations: 0 / 437.4 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2584, allocations: 3.938 kB / 437.4 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.2596, allocations: 0.6082 MB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2596, allocations: 4 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.2597, allocations: 19.92 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003385/0.2601, allocations: 96.78 kB / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2601, allocations: 8 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.2629, allocations: 2.01 MB / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2629, allocations: 0 / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.2638, allocations: 420 kB / 440.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.2638, allocations: 27.78 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.2639, allocations: 4 kB / 440.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2641, allocations: 15.98 kB / 440.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.2641, allocations: 19.97 kB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2641, allocations: 0 / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.2643, allocations: 197.1 kB / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2643, allocations: 4 kB / 440.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004965/0.2648, allocations: 91.78 kB / 441 MB, free: 12.78 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.0001277/0.265, allocations: 99.25 kB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007624/0.2657, allocations: 334.5 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2657, allocations: 0 / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.2661, allocations: 230.4 kB / 441.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.2665, allocations: 44.92 kB / 441.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2676, allocations: 0.565 MB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.2678, allocations: 168.8 kB / 442.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.2679, allocations: 15.44 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2679, allocations: 4 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Templates: time 0.007277/0.2752, allocations: 4.696 MB / 447.1 MB, free: 6.559 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 [Calling sys.exit(0), Time elapsed: 7.188600258901715]