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.0006772/0.0006772, allocations: 80.06 kB / 21.43 MB, free: 3.117 MB / 18.57 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.003062/0.003062, allocations: 138.3 kB / 24.68 MB, free: 9.438 MB / 18.57 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 0.8288/0.8288, allocations: 173.4 MB / 201.2 MB, free: 9.402 MB / 186.7 MB " [Timeout remaining time 179] 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 1.202e-06/1.202e-06, allocations: 0 / 319.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.41e-05, allocations: 2.281 kB / 319.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002431/0.002455, allocations: 2.44 MB / 322.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003464, allocations: 0.631 MB / 322.8 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.003594, allocations: 7.938 kB / 322.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.003717, allocations: 43.64 kB / 322.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.003927, allocations: 91.19 kB / 322.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.00407, allocations: 83.83 kB / 323 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.004322, allocations: 322.4 kB / 323.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.004728, allocations: 65.97 kB / 323.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.004871, allocations: 171.6 kB / 323.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.004982, allocations: 95.69 kB / 323.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.005018, allocations: 24 kB / 323.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.404e-05/0.005042, allocations: 24 kB / 323.7 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.005077, allocations: 55.77 kB / 323.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.005136, allocations: 95.81 kB / 323.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.00537, allocations: 299 kB / 324.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.005373, allocations: 0 / 324.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005374, allocations: 0 / 324.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.00538, allocations: 0 / 324.1 MB, free: 1.336 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.0006002/0.00598, allocations: 497.5 kB / 324.6 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.006013, allocations: 12.92 kB / 324.6 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.006061, allocations: 28.75 kB / 324.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.006311, allocations: 201.4 kB / 324.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.006325, allocations: 20.81 kB / 324.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.006358, allocations: 24.33 kB / 324.9 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.006676, allocations: 305.7 kB / 325.2 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006684, allocations: 192 / 325.2 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.006705, allocations: 12.38 kB / 325.2 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.006711, allocations: 7.938 kB / 325.2 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.006957, allocations: 186 kB / 325.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.00781, allocations: 0.7656 MB / 326.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.008174, allocations: 194.7 kB / 326.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.008352, allocations: 128.7 kB / 326.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.008369, allocations: 0 / 326.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.008388, allocations: 34.56 kB / 326.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 9.52e-07/0.008389, allocations: 0 / 326.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009058/0.009295, allocations: 493.9 kB / 327 MB, free: 14.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.00932, allocations: 51.41 kB / 327.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.009457, allocations: 211.8 kB / 327.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.009471, allocations: 29.7 kB / 327.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.009547, allocations: 180.1 kB / 327.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.009579, allocations: 55.53 kB / 327.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.009625, allocations: 41.7 kB / 327.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.009711, allocations: 330.8 kB / 327.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.009808, allocations: 64.83 kB / 328 MB, free: 13.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.009917, allocations: 114.6 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.01012, allocations: 185.8 kB / 328.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01012, allocations: 0 / 328.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004308/0.01055, allocations: 334.2 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01057, allocations: 8 kB / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.01058, allocations: 3.938 kB / 328.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.0108, allocations: 80.83 kB / 328.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.01088, allocations: 43.91 kB / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.01265, allocations: 1.875 MB / 330.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.01273, allocations: 35.77 kB / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.01274, allocations: 8.062 kB / 330.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.615e-05/0.01284, allocations: 140.6 kB / 330.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.059e-05/0.01291, allocations: 105.8 kB / 330.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001246/0.01303, allocations: 153.1 kB / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.01303, allocations: 0 / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002057/0.01324, allocations: 214.2 kB / 331.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.01325, allocations: 4 kB / 331.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.01325, allocations: 4 kB / 331.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.768e-05/0.01331, allocations: 28.78 kB / 331.3 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.01339, allocations: 43.97 kB / 331.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005375/0.01392, allocations: 1.285 MB / 332.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.01398, allocations: 11.95 kB / 332.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.01399, allocations: 4.125 kB / 332.6 MB, free: 8.34 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.576e-05/0.01407, allocations: 204 kB / 332.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.0141, allocations: 27.86 kB / 332.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.01412, allocations: 21.47 kB / 332.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.01412, allocations: 0 / 332.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01412, allocations: 0 / 332.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01413, allocations: 4.047 kB / 332.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.0147, allocations: 0.5341 MB / 333.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.0147, allocations: 0 / 333.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.01477, allocations: 27.92 kB / 333.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.01492, allocations: 84.73 kB / 333.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01493, allocations: 4 kB / 333.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.01612, allocations: 1.774 MB / 335.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.01613, allocations: 7.969 kB / 335.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.01658, allocations: 436 kB / 335.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.01661, allocations: 23.81 kB / 335.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.01662, allocations: 12 kB / 335.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.0167, allocations: 15.98 kB / 335.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.01672, allocations: 11.98 kB / 335.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.01673, allocations: 4 kB / 335.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.01681, allocations: 143.2 kB / 335.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01681, allocations: 4.062 kB / 335.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.01716, allocations: 123.8 kB / 336 MB, free: 4.738 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 0.0001025/0.01726, allocations: 99.19 kB / 336.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.01786, allocations: 0.535 MB / 336.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01787, allocations: 128 / 336.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.01801, allocations: 194.6 kB / 336.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01825, allocations: 27.92 kB / 336.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.01889, allocations: 0.4961 MB / 337.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.01922, allocations: 134.2 kB / 337.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.01925, allocations: 24.44 kB / 337.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01925, allocations: 0 / 337.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of Templates: time 0.003356/0.02261, allocations: 3.521 MB / 341.1 MB, free: 15.62 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins/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: 4.183983908034861]