Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.0007875/0.0007875, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0007368/0.0007368, allocations: 160.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8286/0.8286, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.829e-05, allocations: 2.281 kB / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002554/0.002582, allocations: 2.415 MB / 302.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003651, allocations: 0.6748 MB / 302.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.003792, allocations: 7.938 kB / 302.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.003926, allocations: 43.52 kB / 302.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.004159, allocations: 95.19 kB / 303 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.00434, allocations: 95.8 kB / 303.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.004612, allocations: 310.5 kB / 303.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.004796, allocations: 73.11 kB / 303.4 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.004957, allocations: 167.6 kB / 303.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.00507, allocations: 95.69 kB / 303.7 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.00511, allocations: 24 kB / 303.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.429e-05/0.005134, allocations: 24 kB / 303.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.005172, allocations: 55.81 kB / 303.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.005235, allocations: 87.77 kB / 303.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.005491, allocations: 299 kB / 304.2 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005494, allocations: 4 kB / 304.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.005495, allocations: 7.938 kB / 304.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.005501, allocations: 0 / 304.2 MB, free: 2.406 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007226/0.006224, allocations: 0.4936 MB / 304.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.006262, allocations: 11.98 kB / 304.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.006315, allocations: 28.8 kB / 304.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.006592, allocations: 197.3 kB / 304.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.006607, allocations: 12.88 kB / 304.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.00664, allocations: 24.38 kB / 304.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.006966, allocations: 301.7 kB / 305.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.006976, allocations: 4.188 kB / 305.2 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.006995, allocations: 8.375 kB / 305.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.007002, allocations: 11.94 kB / 305.3 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.00752, allocations: 185.8 kB / 305.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008934/0.008413, allocations: 0.7657 MB / 306.2 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.008796, allocations: 206.7 kB / 306.4 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.008996, allocations: 124.7 kB / 306.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.009018, allocations: 8 kB / 306.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.009042, allocations: 30.56 kB / 306.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.009044, allocations: 0 / 306.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009471/0.009991, allocations: 493.6 kB / 307.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.01002, allocations: 51.41 kB / 307.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.01017, allocations: 218.1 kB / 307.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.01019, allocations: 29.7 kB / 307.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.01026, allocations: 172.2 kB / 307.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.01029, allocations: 55.53 kB / 307.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.01034, allocations: 45.66 kB / 307.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.01042, allocations: 330.8 kB / 307.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.01051, allocations: 64.83 kB / 308 MB, free: 14.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01062, allocations: 117.8 kB / 308.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.01082, allocations: 181.9 kB / 308.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01082, allocations: 0 / 308.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004325/0.01125, allocations: 338.2 kB / 308.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01127, allocations: 7.984 kB / 308.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01128, allocations: 7.938 kB / 308.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/0.01151, allocations: 76.78 kB / 308.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.0116, allocations: 47.91 kB / 308.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.01317, allocations: 1.871 MB / 310.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.77e-05/0.01326, allocations: 23.94 kB / 310.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.01327, allocations: 16 kB / 310.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.883e-05/0.01337, allocations: 140.2 kB / 310.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.776e-05/0.01345, allocations: 102 kB / 310.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001301/0.01358, allocations: 158 kB / 311.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.71e-07/0.01358, allocations: 0 / 311.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002162/0.0138, allocations: 214.2 kB / 311.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.0138, allocations: 4 kB / 311.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.01381, allocations: 0 / 311.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.776e-05/0.01386, allocations: 32.78 kB / 311.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.01394, allocations: 47.91 kB / 311.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00073/0.01467, allocations: 1.273 MB / 312.6 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.01473, allocations: 15.98 kB / 312.6 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.01474, allocations: 15.98 kB / 312.7 MB, free: 9.395 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 8.189e-05/0.01482, allocations: 192.1 kB / 312.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.01484, allocations: 15.91 kB / 312.9 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.01487, allocations: 21.61 kB / 312.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01487, allocations: 7.984 kB / 312.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01487, allocations: 0 / 312.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01487, allocations: 3.984 kB / 312.9 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/0.01545, allocations: 0.5379 MB / 313.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01545, allocations: 0 / 313.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.01551, allocations: 23.98 kB / 313.5 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.01565, allocations: 76.73 kB / 313.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.01565, allocations: 4 kB / 313.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.01685, allocations: 1.782 MB / 315.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.01685, allocations: 7.922 kB / 315.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.01732, allocations: 432.5 kB / 315.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.01734, allocations: 23.92 kB / 315.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.01735, allocations: 0 / 315.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.01743, allocations: 23.98 kB / 315.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.01745, allocations: 7.984 kB / 315.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.01746, allocations: 11.98 kB / 315.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.264e-05/0.01755, allocations: 148.2 kB / 316 MB, free: 5.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01755, allocations: 0 / 316 MB, free: 5.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000349/0.0179, allocations: 119.7 kB / 316.1 MB, free: 5.809 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 10 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.438e-05/0.01799, allocations: 103.2 kB / 316.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006251/0.01862, allocations: 0.5166 MB / 316.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01862, allocations: 0 / 316.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.01876, allocations: 211.2 kB / 316.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.01901, allocations: 29.05 kB / 316.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006531/0.01966, allocations: 496.1 kB / 317.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.765e-05/0.01975, allocations: 138.2 kB / 317.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.01978, allocations: 16.5 kB / 317.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01978, allocations: 0 / 317.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of Templates: time 0.003836/0.02362, allocations: 3.527 MB / 321.1 MB, free: 0.6875 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.220137385651469]