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.001726/0.001726, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001489/0.001489, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.54/1.54, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001594/0.001594, allocations: 51.91 kB / 371.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2438, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003936/0.2478, allocations: 2.631 MB / 426.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.249, allocations: 0.67 MB / 427.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.2491, allocations: 7.938 kB / 427.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.2493, allocations: 43.56 kB / 427.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.2495, allocations: 79.33 kB / 427.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.2497, allocations: 87.83 kB / 427.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.25, allocations: 310.7 kB / 427.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2502, allocations: 69.97 kB / 427.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.2504, allocations: 119.5 kB / 427.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.2506, allocations: 123.5 kB / 428 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.2506, allocations: 28 kB / 428.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.316e-05/0.2507, allocations: 24 kB / 428.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.2507, allocations: 55.77 kB / 428.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2509, allocations: 135.4 kB / 428.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.2512, allocations: 292 kB / 428.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2512, allocations: 0 / 428.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2512, allocations: 0 / 428.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.2512, allocations: 4 kB / 428.6 MB, free: 10.02 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.0009731/0.2522, allocations: 0.4937 MB / 429.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2522, allocations: 8.031 kB / 429.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.2523, allocations: 32.75 kB / 429.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.2527, allocations: 194 kB / 429.3 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.2527, allocations: 20.88 kB / 429.3 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.2527, allocations: 24.36 kB / 429.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.2532, allocations: 232.4 kB / 429.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2532, allocations: 0 / 429.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.2532, allocations: 8 kB / 429.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2532, allocations: 4 kB / 429.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.2537, allocations: 189.9 kB / 429.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.2552, allocations: 0.8619 MB / 430.6 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.2558, allocations: 202.7 kB / 430.8 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.2562, allocations: 116.7 kB / 430.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2562, allocations: 7.938 kB / 430.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.2562, allocations: 34.56 kB / 431 MB, free: 7.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.2562, allocations: 0 / 431 MB, free: 7.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001844/0.2581, allocations: 490 kB / 431.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.2581, allocations: 51.41 kB / 431.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.2584, allocations: 231 kB / 431.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2584, allocations: 29.7 kB / 431.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2585, allocations: 168.3 kB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.2586, allocations: 63.5 kB / 432 MB, free: 6.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.2586, allocations: 41.67 kB / 432 MB, free: 6.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2588, allocations: 330.8 kB / 432.3 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.259, allocations: 72.77 kB / 432.4 MB, free: 5.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.2592, allocations: 110 kB / 432.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.2595, allocations: 185.8 kB / 432.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2595, allocations: 0 / 432.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008969/0.2604, allocations: 340 kB / 433 MB, free: 5.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2604, allocations: 4 kB / 433 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2605, allocations: 7.984 kB / 433.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.2608, allocations: 76.84 kB / 433.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.261, allocations: 43.91 kB / 433.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.264, allocations: 1.918 MB / 435.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.2642, allocations: 31.83 kB / 435.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.2642, allocations: 4 kB / 435.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000168/0.2644, allocations: 144.1 kB / 435.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000119/0.2645, allocations: 94.05 kB / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002115/0.2647, allocations: 156.9 kB / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.153e-06/0.2647, allocations: 0 / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003691/0.2651, allocations: 214.2 kB / 435.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2651, allocations: 11.28 kB / 435.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/0.2651, allocations: 0 / 435.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.673e-05/0.2652, allocations: 28.97 kB / 435.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2653, allocations: 47.97 kB / 435.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.2664, allocations: 1.312 MB / 437.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.2665, allocations: 11.89 kB / 437.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2665, allocations: 8 kB / 437.1 MB, free: 0.8906 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.000139/0.2667, allocations: 192.2 kB / 437.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.2667, allocations: 19.91 kB / 437.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.2668, allocations: 21.47 kB / 437.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2668, allocations: 3.938 kB / 437.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.2668, allocations: 4.062 kB / 437.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2668, allocations: 7.984 kB / 437.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.2679, allocations: 0.5882 MB / 438 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.268, allocations: 4.219 kB / 438 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2681, allocations: 23.92 kB / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.2684, allocations: 84.78 kB / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2684, allocations: 0 / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.2709, allocations: 1.82 MB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2709, allocations: 3.938 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009107/0.2718, allocations: 436.2 kB / 440.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.2718, allocations: 23.88 kB / 440.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.2719, allocations: 7.938 kB / 440.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.2721, allocations: 19.98 kB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.2721, allocations: 16.03 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.2721, allocations: 4 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.2723, allocations: 168.6 kB / 440.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2723, allocations: 0 / 440.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005881/0.2729, allocations: 111.8 kB / 440.7 MB, free: 13.16 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.0001512/0.273, allocations: 107.2 kB / 440.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.2742, allocations: 0.5167 MB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2742, allocations: 3.938 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.2745, allocations: 187.3 kB / 441.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.2749, allocations: 59.12 kB / 441.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.2761, allocations: 0.526 MB / 442.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.2765, allocations: 0.7402 MB / 442.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.2766, allocations: 27.36 kB / 442.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2766, allocations: 0 / 442.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Templates: time 0.005921/0.2825, allocations: 3.535 MB / 446.4 MB, free: 7.363 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.5394611628726125]