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.001023/0.001023, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001078/0.001078, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.011/1.011, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] 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.353e-06/1.353e-06, allocations: 0 / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.293e-05, allocations: 9.062 kB / 273.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003148/0.003171, allocations: 2.662 MB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.004407, allocations: 0.6775 MB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.004542, allocations: 7.938 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.00468, allocations: 39.64 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.005036, allocations: 99.19 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.005168, allocations: 67.83 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.005451, allocations: 322.4 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.005596, allocations: 75.03 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.005756, allocations: 171.6 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.005921, allocations: 99.69 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.005959, allocations: 24 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.005994, allocations: 31.94 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.00604, allocations: 55.75 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.00612, allocations: 99.75 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.006335, allocations: 195.3 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.006337, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.006338, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.006343, allocations: 0 / 278.1 MB, free: 12.34 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.0005525/0.006895, allocations: 472.1 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.006928, allocations: 15.98 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.006987, allocations: 40.91 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.007198, allocations: 185.3 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.007218, allocations: 20.88 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.007252, allocations: 24.38 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.007475, allocations: 259.4 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.007484, allocations: 192 / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.007501, allocations: 8.375 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.00751, allocations: 15.94 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.788e-05/0.007608, allocations: 63.41 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/0.008473, allocations: 0.6372 MB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.008731, allocations: 134.5 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.00886, allocations: 80.78 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.008876, allocations: 7.938 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.008899, allocations: 42.56 kB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.754e-06/0.008901, allocations: 0 / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003033/0.009204, allocations: 150.7 kB / 280.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.00923, allocations: 59.34 kB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.009594, allocations: 199.4 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.00961, allocations: 25.7 kB / 280.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.009683, allocations: 172.1 kB / 280.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.009721, allocations: 67.42 kB / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.009782, allocations: 53.67 kB / 280.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.009864, allocations: 326.8 kB / 281.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.009898, allocations: 23.98 kB / 281.1 MB, free: 9.102 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.838e-05/0.009967, allocations: 81.95 kB / 281.2 MB, free: 9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.01008, allocations: 117.8 kB / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01008, allocations: 4 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001974/0.01028, allocations: 155.6 kB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.01029, allocations: 8 kB / 281.5 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.0103, allocations: 0 / 281.5 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.01044, allocations: 40.95 kB / 281.5 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.01064, allocations: 63.95 kB / 281.6 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006158/0.01125, allocations: 1.186 MB / 282.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.01134, allocations: 27.77 kB / 282.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01135, allocations: 4 kB / 282.8 MB, free: 7.285 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 8.306e-05/0.01144, allocations: 129.8 kB / 282.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.01147, allocations: 19.98 kB / 282.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.0115, allocations: 25.75 kB / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0115, allocations: 4 kB / 283 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01151, allocations: 3.984 kB / 283 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01151, allocations: 0 / 283 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.01196, allocations: 359.7 kB / 283.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01196, allocations: 0 / 283.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.01214, allocations: 44 kB / 283.4 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.01225, allocations: 40.7 kB / 283.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01226, allocations: 0 / 283.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006722/0.01294, allocations: 1.186 MB / 284.6 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01294, allocations: 3.938 kB / 284.6 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.01318, allocations: 256.8 kB / 284.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.0132, allocations: 15.84 kB / 284.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.01322, allocations: 4 kB / 284.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.01335, allocations: 15.98 kB / 284.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.01339, allocations: 27.84 kB / 284.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.0134, allocations: 4 kB / 284.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.01346, allocations: 67.02 kB / 285 MB, free: 4.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01346, allocations: 4.031 kB / 285 MB, free: 4.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000309/0.01377, allocations: 67.84 kB / 285 MB, free: 4.875 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 9.971e-05/0.01387, allocations: 80.42 kB / 285.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.01416, allocations: 222.9 kB / 285.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.01417, allocations: 4 kB / 285.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.0143, allocations: 163.9 kB / 285.5 MB, free: 4.379 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01458, allocations: 47.69 kB / 285.6 MB, free: 4.332 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.01563, allocations: 0.5293 MB / 286.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.717e-05/0.01569, allocations: 84.55 kB / 286.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.591e-05/0.01576, allocations: 17.95 kB / 286.2 MB, free: 3.648 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.01588, allocations: 99.34 kB / 286.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01589, allocations: 0 / 286.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of Templates: time 0.005212/0.0211, allocations: 2.735 MB / 289 MB, free: 0.8594 MB / 266.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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7779674879275262]