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.0009528/0.0009528, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.00104/0.00104, allocations: 163.2 kB / 24.91 MB, free: 8.715 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.171/1.171, allocations: 177 MB / 205.2 MB, free: 5.016 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.924e-06/1.924e-06, allocations: 0 / 273.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.962e-05, allocations: 5.266 kB / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004137/0.004167, allocations: 2.674 MB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.005671, allocations: 0.6698 MB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.00584, allocations: 7.938 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.006001, allocations: 47.5 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.006293, allocations: 87.27 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.006489, allocations: 75.81 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.006851, allocations: 334.3 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.00702, allocations: 71.09 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.007234, allocations: 167.7 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.007412, allocations: 95.7 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.007455, allocations: 24 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.884e-05/0.007494, allocations: 28 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.007548, allocations: 59.75 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.007653, allocations: 95.75 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.007918, allocations: 195.2 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007922, allocations: 3.984 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007923, allocations: 0 / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.007929, allocations: 4 kB / 278.1 MB, free: 12.32 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.0006724/0.008602, allocations: 472.1 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.00864, allocations: 11.98 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.294e-05/0.008713, allocations: 44.89 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.008969, allocations: 181.3 kB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.008991, allocations: 16.88 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.009032, allocations: 28.36 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.009305, allocations: 255.4 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.009317, allocations: 192 / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.009344, allocations: 20.36 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.009354, allocations: 7.938 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.009468, allocations: 67.41 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.01053, allocations: 0.6256 MB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.01085, allocations: 142.4 kB / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.011, allocations: 84.73 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.01103, allocations: 4 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.01106, allocations: 42.55 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.124e-06/0.01106, allocations: 0 / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004177/0.01148, allocations: 162.6 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.466e-05/0.01152, allocations: 55.41 kB / 280.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.01169, allocations: 191.4 kB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.01171, allocations: 29.7 kB / 280.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.01182, allocations: 172.1 kB / 280.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.01187, allocations: 63.42 kB / 280.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.01194, allocations: 45.69 kB / 280.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.01207, allocations: 334.8 kB / 281.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.01212, allocations: 23.98 kB / 281.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.01221, allocations: 81.98 kB / 281.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.01237, allocations: 121.8 kB / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.01237, allocations: 0 / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002605/0.01263, allocations: 167.6 kB / 281.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.01265, allocations: 8 kB / 281.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01266, allocations: 0 / 281.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.01285, allocations: 36.83 kB / 281.5 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.01307, allocations: 55.91 kB / 281.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008523/0.01392, allocations: 1.19 MB / 282.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01405, allocations: 23.81 kB / 282.8 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.01406, allocations: 8 kB / 282.8 MB, free: 7.27 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 0.000126/0.01419, allocations: 125.9 kB / 282.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.01423, allocations: 15.98 kB / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.01428, allocations: 25.8 kB / 283 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01428, allocations: 4 kB / 283 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.01429, allocations: 4.031 kB / 283 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.0143, allocations: 0 / 283 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.01486, allocations: 360.3 kB / 283.3 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.01486, allocations: 4 kB / 283.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.01505, allocations: 39.97 kB / 283.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.01517, allocations: 40.73 kB / 283.4 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.01518, allocations: 4 kB / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007529/0.01594, allocations: 1.182 MB / 284.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01594, allocations: 3.984 kB / 284.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.01621, allocations: 255.8 kB / 284.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.01624, allocations: 19.83 kB / 284.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.01626, allocations: 11.94 kB / 284.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.01639, allocations: 16.06 kB / 284.9 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.01644, allocations: 19.91 kB / 284.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01645, allocations: 8 kB / 284.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.01652, allocations: 59.03 kB / 285 MB, free: 4.938 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01652, allocations: 0 / 285 MB, free: 4.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.01686, allocations: 71.84 kB / 285 MB, free: 4.867 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 0.0001517/0.01702, allocations: 84.42 kB / 285.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.01732, allocations: 222.9 kB / 285.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.01733, allocations: 4 kB / 285.4 MB, free: 4.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.01748, allocations: 167.4 kB / 285.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.01777, allocations: 40.19 kB / 285.6 MB, free: 4.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.01902, allocations: 0.5254 MB / 286.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.57e-05/0.01908, allocations: 84.55 kB / 286.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.643e-05/0.01918, allocations: 25.94 kB / 286.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.01932, allocations: 91.34 kB / 286.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01932, allocations: 0 / 286.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of Templates: time 0.005287/0.0246, allocations: 2.739 MB / 289 MB, free: 0.8516 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.9138470529578626]