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.002016/0.002016, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.002418/0.002418, allocations: 208.2 kB / 23.72 MB, free: 4.527 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001587/0.001587, allocations: 43.92 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.314, allocations: 53.37 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004933/0.319, allocations: 2.965 MB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3207, allocations: 0.783 MB / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.3209, allocations: 4 kB / 435.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.3211, allocations: 67.36 kB / 435.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.3213, allocations: 111 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.3217, allocations: 143.8 kB / 435.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.3222, allocations: 446.2 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.3225, allocations: 112 kB / 436.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.3228, allocations: 175.4 kB / 436.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.3231, allocations: 187.1 kB / 436.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.603e-05/0.3231, allocations: 44 kB / 436.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3232, allocations: 48 kB / 436.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.3233, allocations: 79.77 kB / 436.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.3235, allocations: 163.2 kB / 436.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.3241, allocations: 0.5006 MB / 437.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3241, allocations: 8 kB / 437.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3241, allocations: 0 / 437.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3241, allocations: 0 / 437.4 MB, free: 0.8711 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.001219/0.3253, allocations: 0.609 MB / 438 MB, free: 236 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3254, allocations: 12.03 kB / 438 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.3256, allocations: 48.7 kB / 438.1 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.3261, allocations: 255.7 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.3262, allocations: 25.03 kB / 438.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.3262, allocations: 28.38 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.327, allocations: 436.5 kB / 438.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.327, allocations: 3.984 kB / 438.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.327, allocations: 12 kB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.3271, allocations: 11.98 kB / 438.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/0.3277, allocations: 266.5 kB / 439.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.3297, allocations: 1.078 MB / 440.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.3304, allocations: 210.6 kB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.3306, allocations: 84.81 kB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3306, allocations: 4 kB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3306, allocations: 34.56 kB / 440.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.3306, allocations: 0 / 440.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002111/0.3327, allocations: 0.5629 MB / 441.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.3328, allocations: 51.41 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.3331, allocations: 277.8 kB / 441.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3332, allocations: 25.7 kB / 441.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.3333, allocations: 220.2 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.3334, allocations: 55.53 kB / 441.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.3335, allocations: 49.66 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3336, allocations: 342.8 kB / 442.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3339, allocations: 75.95 kB / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.3341, allocations: 166.2 kB / 442.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.3346, allocations: 249 kB / 442.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3346, allocations: 0 / 442.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009873/0.3356, allocations: 406 kB / 442.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3356, allocations: 8 kB / 442.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3356, allocations: 7.938 kB / 442.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/0.3361, allocations: 100.8 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.3363, allocations: 39.92 kB / 443.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.3395, allocations: 2.024 MB / 445.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.3398, allocations: 35.77 kB / 445.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.3398, allocations: 12 kB / 445.2 MB, free: 8.715 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.0002039/0.34, allocations: 148 kB / 445.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.34, allocations: 27.8 kB / 445.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.3401, allocations: 37.69 kB / 445.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3401, allocations: 4 kB / 445.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3401, allocations: 0 / 445.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3401, allocations: 3.984 kB / 445.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.3414, allocations: 0.6082 MB / 446 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.3414, allocations: 3.938 kB / 446 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.3415, allocations: 15.98 kB / 446 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.3418, allocations: 104.8 kB / 446.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3418, allocations: 4 kB / 446.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/0.3448, allocations: 2.009 MB / 448.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3448, allocations: 0 / 448.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.3457, allocations: 423.6 kB / 448.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.3458, allocations: 19.81 kB / 448.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.3458, allocations: 4 kB / 448.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.346, allocations: 27.97 kB / 448.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.3461, allocations: 19.86 kB / 448.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3461, allocations: 7.984 kB / 448.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.3463, allocations: 189.2 kB / 448.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3463, allocations: 0 / 448.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005237/0.3468, allocations: 91.84 kB / 448.9 MB, free: 4.816 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.0001413/0.347, allocations: 95.25 kB / 449 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.3478, allocations: 338.3 kB / 449.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3478, allocations: 0.6875 kB / 449.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.3482, allocations: 230.5 kB / 449.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3485, allocations: 28.48 kB / 449.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3498, allocations: 0.5516 MB / 450.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.35, allocations: 164.8 kB / 450.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.618e-05/0.3501, allocations: 22.28 kB / 450.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.3501, allocations: 19.44 kB / 450.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3501, allocations: 0 / 450.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of Templates: time 0.008377/0.3585, allocations: 3.636 MB / 453.9 MB, free: 15.71 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.708411114290357]