Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002476/0.002476, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003018/0.003018, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.067e-05, allocations: 2.312 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.006095/0.006126, allocations: 2.61 MB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.008159, allocations: 0.6659 MB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.008368, allocations: 4 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.008593, allocations: 43.56 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.008974, allocations: 87.2 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.009204, allocations: 75.83 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.009766, allocations: 326.4 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.01001, allocations: 65.62 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.01032, allocations: 175.6 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.01058, allocations: 103.7 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.01065, allocations: 24 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.528e-05/0.01073, allocations: 27.94 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.01082, allocations: 63.75 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.011, allocations: 91.77 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.01155, allocations: 295.1 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01156, allocations: 0 / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01156, allocations: 0 / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.01156, allocations: 0 / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001402/0.01296, allocations: 0.6049 MB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.01302, allocations: 15.98 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.01317, allocations: 48.8 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.01365, allocations: 212.2 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.01368, allocations: 16.88 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.01376, allocations: 24.38 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.01441, allocations: 315.5 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01442, allocations: 192 / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.01446, allocations: 8.375 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.01447, allocations: 11.94 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.01492, allocations: 157.9 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.01723, allocations: 0.9054 MB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.01789, allocations: 187 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/0.01828, allocations: 115.6 kB / 279.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.01831, allocations: 7.984 kB / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.01836, allocations: 41.39 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.01836, allocations: 0 / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008914/0.01926, allocations: 248.7 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.01931, allocations: 55.41 kB / 279.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.01973, allocations: 294.7 kB / 280.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.01976, allocations: 29.7 kB / 280.1 MB, free: 9.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.01998, allocations: 222.9 kB / 280.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.461e-05/0.02007, allocations: 63.44 kB / 280.4 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.02022, allocations: 63.31 kB / 280.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000494/0.02071, allocations: 0.5079 MB / 281 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.02086, allocations: 51.97 kB / 281 MB, free: 8.688 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.02113, allocations: 133.8 kB / 281.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.02155, allocations: 207.8 kB / 281.4 MB, free: 8.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.02156, allocations: 0 / 281.4 MB, free: 8.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006566/0.02221, allocations: 253.7 kB / 281.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.02223, allocations: 12.19 kB / 281.6 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.02224, allocations: 0 / 281.6 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.02254, allocations: 39.66 kB / 281.7 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.02286, allocations: 51.91 kB / 281.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.02495, allocations: 1.818 MB / 283.5 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.02517, allocations: 27.81 kB / 283.6 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.0252, allocations: 12 kB / 283.6 MB, free: 5.949 MB / 266.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: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.02544, allocations: 176.5 kB / 283.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.02553, allocations: 31.86 kB / 283.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.931e-05/0.0256, allocations: 21.81 kB / 283.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.02561, allocations: 7.922 kB / 283.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.02562, allocations: 8 kB / 283.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.02563, allocations: 0 / 283.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.0269, allocations: 0.5633 MB / 284.4 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.0269, allocations: 3.984 kB / 284.4 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.02716, allocations: 35.92 kB / 284.4 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.02735, allocations: 39.8 kB / 284.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.02738, allocations: 4 kB / 284.5 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.02934, allocations: 1.811 MB / 286.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.02934, allocations: 3.938 kB / 286.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.03008, allocations: 399.6 kB / 286.7 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.03014, allocations: 27.77 kB / 286.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.03018, allocations: 4 kB / 286.7 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.03043, allocations: 15.98 kB / 286.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.03051, allocations: 24.03 kB / 286.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.03053, allocations: 4 kB / 286.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002841/0.03081, allocations: 201.4 kB / 286.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03082, allocations: 0 / 286.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005648/0.03138, allocations: 71.84 kB / 287 MB, free: 2.297 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp.v_int,c.v) * Number of discrete variables: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001881/0.03157, allocations: 99.25 kB / 287.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007394/0.03231, allocations: 343.8 kB / 287.4 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.03231, allocations: 0 / 287.4 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.03272, allocations: 257.4 kB / 287.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.03328, allocations: 44.5 kB / 287.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.03526, allocations: 0.5578 MB / 288.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.03546, allocations: 138.4 kB / 288.4 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.03559, allocations: 17.95 kB / 288.4 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.03568, allocations: 24.48 kB / 288.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03568, allocations: 4 kB / 288.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of Templates: time 0.009642/0.04532, allocations: 2.492 MB / 291 MB, free: 14.27 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.7220657230354846]