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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 194.7 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] 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.001413/0.001413, allocations: 51.89 kB / 369.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.267, allocations: 52.13 MB / 421.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003832/0.2708, allocations: 2.626 MB / 423.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.272, allocations: 0.67 MB / 424.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2721, allocations: 11.94 kB / 424.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.2722, allocations: 39.58 kB / 424.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.2724, allocations: 87.31 kB / 424.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.2725, allocations: 79.83 kB / 424.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.2729, allocations: 306.7 kB / 425.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.273, allocations: 68.94 kB / 425.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2731, allocations: 123.5 kB / 425.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.2733, allocations: 131.4 kB / 425.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.2733, allocations: 24 kB / 425.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.2734, allocations: 24 kB / 425.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.2734, allocations: 51.84 kB / 425.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2736, allocations: 127.4 kB / 425.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.2739, allocations: 296 kB / 426 MB, free: 10.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2739, allocations: 7.875 kB / 426 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2739, allocations: 0 / 426 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2739, allocations: 0 / 426 MB, free: 10.52 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.0009624/0.2749, allocations: 0.569 MB / 426.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2749, allocations: 8.031 kB / 426.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.275, allocations: 32.75 kB / 426.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.2754, allocations: 256 kB / 426.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2754, allocations: 16.94 kB / 426.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.2754, allocations: 24.38 kB / 426.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.2759, allocations: 229.1 kB / 427.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2759, allocations: 0 / 427.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.2759, allocations: 4 kB / 427.1 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2759, allocations: 11.98 kB / 427.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.2764, allocations: 194.1 kB / 427.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.2779, allocations: 0.9009 MB / 428.2 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/0.2785, allocations: 198.7 kB / 428.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.2788, allocations: 120.7 kB / 428.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.2788, allocations: 4 kB / 428.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2789, allocations: 30.56 kB / 428.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2789, allocations: 0 / 428.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001761/0.2806, allocations: 0.5654 MB / 429.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2807, allocations: 55.34 kB / 429.2 MB, free: 7.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.2809, allocations: 227 kB / 429.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2809, allocations: 25.7 kB / 429.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2811, allocations: 168.2 kB / 429.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.2811, allocations: 55.53 kB / 429.6 MB, free: 6.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.2812, allocations: 49.66 kB / 429.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2813, allocations: 334.8 kB / 430 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.2815, allocations: 68.81 kB / 430.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.2817, allocations: 113.9 kB / 430.2 MB, free: 6.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.2821, allocations: 177.9 kB / 430.3 MB, free: 5.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2821, allocations: 0 / 430.3 MB, free: 5.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000847/0.2829, allocations: 342.1 kB / 430.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.283, allocations: 4 kB / 430.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.283, allocations: 4 kB / 430.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.2833, allocations: 84.77 kB / 430.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2835, allocations: 35.98 kB / 430.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.2864, allocations: 2.017 MB / 432.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2866, allocations: 31.89 kB / 432.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2866, allocations: 8 kB / 432.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001686/0.2868, allocations: 144.6 kB / 433 MB, free: 3.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001194/0.2869, allocations: 101.8 kB / 433.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002011/0.2871, allocations: 148.7 kB / 433.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.103e-06/0.2871, allocations: 0 / 433.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003585/0.2874, allocations: 222.2 kB / 433.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2875, allocations: 8 kB / 433.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2875, allocations: 3.984 kB / 433.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.11e-05/0.2875, allocations: 24.84 kB / 433.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.2877, allocations: 43.97 kB / 433.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.2888, allocations: 1.418 MB / 435 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2889, allocations: 15.92 kB / 435 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2889, allocations: 8 kB / 435 MB, free: 0.8359 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.0001433/0.2891, allocations: 200.2 kB / 435.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.2891, allocations: 15.91 kB / 435.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.2892, allocations: 25.52 kB / 435.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2892, allocations: 7.938 kB / 435.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2892, allocations: 0 / 435.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2892, allocations: 0 / 435.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.2903, allocations: 0.6198 MB / 435.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2903, allocations: 8 kB / 435.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2905, allocations: 27.98 kB / 435.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002537/0.2907, allocations: 72.8 kB / 436 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2907, allocations: 4 kB / 436 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.2932, allocations: 1.931 MB / 437.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2932, allocations: 0 / 437.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008993/0.2941, allocations: 432.5 kB / 438.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.2942, allocations: 105 kB / 438.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.2942, allocations: 11.88 kB / 438.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.2945, allocations: 19.98 kB / 438.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.2945, allocations: 7.984 kB / 438.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.2945, allocations: 8 kB / 438.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.2946, allocations: 168.6 kB / 438.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2946, allocations: 0 / 438.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000553/0.2952, allocations: 119.8 kB / 438.7 MB, free: 12.83 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.0001208/0.2953, allocations: 100 kB / 438.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.2964, allocations: 0.5197 MB / 439.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2964, allocations: 4.125 kB / 439.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.2967, allocations: 206.5 kB / 439.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.297, allocations: 40.7 kB / 439.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2981, allocations: 0.5329 MB / 440.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.2985, allocations: 0.7401 MB / 440.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.2985, allocations: 23.44 kB / 440.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2985, allocations: 3.938 kB / 440.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Templates: time 0.005886/0.3044, allocations: 3.528 MB / 444.4 MB, free: 7.031 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