Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.001352/0.001352, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.00144/0.00144, allocations: 185 kB / 24.46 MB, free: 3.863 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.423/1.423, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 51.91 kB / 371.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2327, allocations: 52.17 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003878/0.2365, allocations: 2.449 MB / 426.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2378, allocations: 0.6349 MB / 426.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2379, allocations: 7.938 kB / 426.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.238, allocations: 47.58 kB / 427 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.2383, allocations: 75.33 kB / 427.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.2385, allocations: 91.81 kB / 427.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.2389, allocations: 306.7 kB / 427.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.2391, allocations: 65.97 kB / 427.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.2392, allocations: 119.5 kB / 427.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.2394, allocations: 119.4 kB / 427.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.2394, allocations: 24 kB / 427.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.189e-05/0.2395, allocations: 28 kB / 427.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.2395, allocations: 47.84 kB / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.2397, allocations: 111.5 kB / 427.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.24, allocations: 289.7 kB / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.24, allocations: 7.922 kB / 428.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.24, allocations: 0 / 428.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.24, allocations: 0 / 428.2 MB, free: 10.05 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009951/0.241, allocations: 0.4898 MB / 428.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.241, allocations: 12.03 kB / 428.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.2411, allocations: 28.75 kB / 428.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.2415, allocations: 190.1 kB / 429 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.2415, allocations: 16.88 kB / 429 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.2416, allocations: 24.38 kB / 429 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.2421, allocations: 305.4 kB / 429.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2421, allocations: 0 / 429.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.2421, allocations: 15.98 kB / 429.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2421, allocations: 7.938 kB / 429.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.2426, allocations: 185.9 kB / 429.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2441, allocations: 0.765 MB / 430.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.2447, allocations: 202.7 kB / 430.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.2451, allocations: 116.7 kB / 430.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2451, allocations: 4 kB / 430.6 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.2451, allocations: 42.48 kB / 430.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.2451, allocations: 0 / 430.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001857/0.247, allocations: 485.3 kB / 431.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.247, allocations: 55.41 kB / 431.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.2473, allocations: 208.9 kB / 431.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.2473, allocations: 37.7 kB / 431.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2474, allocations: 164.2 kB / 431.5 MB, free: 6.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.2475, allocations: 63.47 kB / 431.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.2476, allocations: 33.72 kB / 431.6 MB, free: 6.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2477, allocations: 338.7 kB / 432 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.2479, allocations: 68.83 kB / 432 MB, free: 6.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.2481, allocations: 110 kB / 432.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.2485, allocations: 184.5 kB / 432.3 MB, free: 5.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2485, allocations: 4 kB / 432.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000898/0.2494, allocations: 342.1 kB / 432.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2494, allocations: 4 kB / 432.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2494, allocations: 4 kB / 432.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.2498, allocations: 84.77 kB / 432.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.25, allocations: 43.97 kB / 432.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.2531, allocations: 1.875 MB / 434.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.2533, allocations: 31.77 kB / 434.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2533, allocations: 12.06 kB / 434.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001682/0.2534, allocations: 136.1 kB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001285/0.2536, allocations: 101.9 kB / 435 MB, free: 2.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002063/0.2538, allocations: 149.4 kB / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.2538, allocations: 0 / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000386/0.2542, allocations: 222.2 kB / 435.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2542, allocations: 7.938 kB / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2542, allocations: 0 / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.755e-05/0.2543, allocations: 24.84 kB / 435.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.2544, allocations: 47.91 kB / 435.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.2555, allocations: 1.286 MB / 436.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.2557, allocations: 15.92 kB / 436.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.2557, allocations: 8 kB / 436.7 MB, free: 1.055 MB / 334.1 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 0.0001457/0.2558, allocations: 196.1 kB / 436.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.2559, allocations: 19.86 kB / 436.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.2559, allocations: 21.45 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2559, allocations: 4 kB / 436.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2559, allocations: 3.938 kB / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2559, allocations: 0 / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.2571, allocations: 0.5419 MB / 437.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2571, allocations: 0 / 437.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.2572, allocations: 23.98 kB / 437.5 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.2575, allocations: 72.8 kB / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.2575, allocations: 8 kB / 437.6 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.2601, allocations: 1.785 MB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2601, allocations: 0 / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.261, allocations: 444 kB / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.2611, allocations: 19.88 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.2611, allocations: 7.938 kB / 439.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.2613, allocations: 19.98 kB / 439.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.2613, allocations: 11.98 kB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2613, allocations: 4 kB / 439.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.2615, allocations: 151 kB / 440 MB, free: 13.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2615, allocations: 0 / 440 MB, free: 13.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006049/0.2621, allocations: 131.7 kB / 440.1 MB, free: 13.45 MB / 350.1 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 0.0001381/0.2622, allocations: 99.23 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.2634, allocations: 0.5244 MB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2634, allocations: 0.6875 kB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.2637, allocations: 202.5 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.2641, allocations: 25.67 kB / 441 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.2652, allocations: 0.5376 MB / 441.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2653, allocations: 130.2 kB / 441.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.2654, allocations: 19.44 kB / 441.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2654, allocations: 0 / 441.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Templates: time 0.006276/0.2717, allocations: 3.516 MB / 445.2 MB, free: 8.297 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.416431013960391]