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.0009325/0.0009325, 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.0009006/0.0009006, 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.039 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.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.545e-05, allocations: 2.312 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002354/0.002369, allocations: 2.622 MB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.00318, allocations: 0.6814 MB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.92e-05/0.00328, allocations: 11.94 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.003396, allocations: 47.52 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.003577, allocations: 83.25 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.602e-05/0.003673, allocations: 71.84 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.003899, allocations: 326.4 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.00402, allocations: 67.03 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.004138, allocations: 179.6 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.004257, allocations: 103.7 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.004287, allocations: 24 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.373e-05/0.004311, allocations: 24 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.004349, allocations: 59.77 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.004413, allocations: 95.75 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004582, allocations: 199.2 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.004583, allocations: 0 / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004584, allocations: 0 / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.004587, allocations: 3.938 kB / 278 MB, free: 12.43 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.0004494/0.005037, allocations: 476.1 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.005064, allocations: 11.98 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.005108, allocations: 40.91 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.005263, allocations: 177.4 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.005276, allocations: 24.88 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.005304, allocations: 24.38 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.005475, allocations: 259.4 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.00548, allocations: 192 / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.005494, allocations: 8.375 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005499, allocations: 7.938 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-05/0.005572, allocations: 67.47 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.006235, allocations: 0.6334 MB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.006437, allocations: 146.4 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.006538, allocations: 88.72 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.006553, allocations: 4 kB / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.006571, allocations: 34.56 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.082e-06/0.006572, allocations: 0 / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002485/0.006821, allocations: 158.6 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.00684, allocations: 55.41 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.006939, allocations: 199.4 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.006952, allocations: 33.7 kB / 280.4 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.007005, allocations: 164.1 kB / 280.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.007036, allocations: 67.41 kB / 280.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.007079, allocations: 49.69 kB / 280.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.007152, allocations: 330.8 kB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.007177, allocations: 23.98 kB / 281 MB, free: 9.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.007228, allocations: 81.97 kB / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.828e-05/0.007316, allocations: 115.5 kB / 281.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007318, allocations: 0 / 281.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001466/0.007465, allocations: 167.3 kB / 281.4 MB, free: 8.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.007476, allocations: 4.188 kB / 281.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007481, allocations: 8 kB / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/0.007593, allocations: 32.83 kB / 281.4 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.007702, allocations: 51.91 kB / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005256/0.008228, allocations: 1.186 MB / 282.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.00829, allocations: 27.86 kB / 282.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.008299, allocations: 7.938 kB / 282.7 MB, free: 7.375 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 6.824e-05/0.008367, allocations: 121.8 kB / 282.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.008392, allocations: 19.97 kB / 282.8 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.008416, allocations: 25.81 kB / 282.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008418, allocations: 4 kB / 282.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.008424, allocations: 0 / 282.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.008433, allocations: 3.984 kB / 282.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.008823, allocations: 356.4 kB / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008824, allocations: 0 / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.008918, allocations: 35.92 kB / 283.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.295e-05/0.008991, allocations: 28.83 kB / 283.3 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.009001, allocations: 11.94 kB / 283.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004525/0.009453, allocations: 1.186 MB / 284.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009454, allocations: 3.938 kB / 284.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.009632, allocations: 259.9 kB / 284.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.00965, allocations: 19.84 kB / 284.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.009664, allocations: 4 kB / 284.8 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.009741, allocations: 19.98 kB / 284.8 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.009771, allocations: 19.91 kB / 284.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.009778, allocations: 8.062 kB / 284.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.132e-05/0.009819, allocations: 59.03 kB / 284.9 MB, free: 5.055 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009819, allocations: 4 kB / 284.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.009994, allocations: 71.84 kB / 284.9 MB, free: 4.98 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 6.984e-05/0.01006, allocations: 88.34 kB / 285 MB, free: 4.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.01026, allocations: 215.3 kB / 285.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.01027, allocations: 4.062 kB / 285.2 MB, free: 4.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.738e-05/0.01036, allocations: 171.4 kB / 285.4 MB, free: 4.477 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.01053, allocations: 35.97 kB / 285.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.01129, allocations: 0.537 MB / 286 MB, free: 3.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.01133, allocations: 84.55 kB / 286.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.01138, allocations: 21.95 kB / 286.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.01148, allocations: 91.34 kB / 286.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01148, allocations: 0 / 286.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of Templates: time 0.00405/0.01553, allocations: 2.672 MB / 288.8 MB, free: 1.023 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 -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.8247606959193945]