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.001033/0.001033, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001294/0.001294, allocations: 159.4 kB / 25.61 MB, free: 8.582 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 0.9577/0.9577, allocations: 177 MB / 205.9 MB, free: 4.457 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.213e-06/1.213e-06, allocations: 3.938 kB / 274.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.913e-05, allocations: 6.141 kB / 274.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.006148/0.006168, allocations: 2.618 MB / 276.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.007291, allocations: 0.6636 MB / 277.4 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.01046, allocations: 4 kB / 277.5 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.0106, allocations: 39.58 kB / 277.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.01085, allocations: 99.12 kB / 277.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.01098, allocations: 65.72 kB / 277.7 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.01128, allocations: 326.4 kB / 278 MB, free: 432 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.01144, allocations: 69.06 kB / 278 MB, free: 356 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.01161, allocations: 175.5 kB / 278.2 MB, free: 180 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.01175, allocations: 100.2 kB / 278.3 MB, free: 80 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.01179, allocations: 24.59 kB / 278.3 MB, free: 56 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.26e-05/0.01182, allocations: 24 kB / 278.4 MB, free: 32 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.01188, allocations: 64.41 kB / 278.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.919e-05/0.01197, allocations: 99.75 kB / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.0122, allocations: 195.3 kB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01221, allocations: 0 / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01221, allocations: 0 / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.01221, allocations: 0 / 278.7 MB, free: 15.68 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.0006547/0.01287, allocations: 0.5857 MB / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.0129, allocations: 12.03 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.01297, allocations: 48.73 kB / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.0132, allocations: 204.1 kB / 279.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.01322, allocations: 20.88 kB / 279.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.01325, allocations: 24.38 kB / 279.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/0.0165, allocations: 251.5 kB / 279.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.01651, allocations: 192 / 279.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.01653, allocations: 8.375 kB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.01654, allocations: 15.94 kB / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.01666, allocations: 79.42 kB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.01763, allocations: 0.7733 MB / 280.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.0179, allocations: 163 kB / 280.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.01804, allocations: 83.61 kB / 281 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.01806, allocations: 4.344 kB / 281 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.01808, allocations: 41.39 kB / 281 MB, free: 13.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.122e-06/0.01808, allocations: 4 kB / 281 MB, free: 13.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003632/0.01845, allocations: 194.9 kB / 281.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.01847, allocations: 55.41 kB / 281.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.01862, allocations: 254.6 kB / 281.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.01864, allocations: 29.7 kB / 281.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.01873, allocations: 222.9 kB / 281.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.01877, allocations: 67.42 kB / 281.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.01884, allocations: 63.33 kB / 281.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.01897, allocations: 0.4962 MB / 282.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.01901, allocations: 27.97 kB / 282.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.01909, allocations: 102.5 kB / 282.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.01934, allocations: 150.8 kB / 282.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01934, allocations: 4 kB / 282.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001884/0.01953, allocations: 198.5 kB / 282.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.01954, allocations: 4 kB / 282.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.01955, allocations: 4 kB / 282.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.01967, allocations: 35.64 kB / 282.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.01978, allocations: 56.11 kB / 282.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007647/0.02055, allocations: 1.737 MB / 284.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.02065, allocations: 27.72 kB / 284.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.02067, allocations: 8 kB / 284.7 MB, free: 9.242 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.0001005/0.02077, allocations: 168.5 kB / 284.9 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.02081, allocations: 31.89 kB / 284.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.02084, allocations: 25.8 kB / 284.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.02085, allocations: 4 kB / 284.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.02085, allocations: 144 / 284.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.02086, allocations: 7.922 kB / 284.9 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.02136, allocations: 467.6 kB / 285.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02136, allocations: 0 / 285.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.02148, allocations: 35.92 kB / 285.4 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.341e-05/0.02158, allocations: 39.62 kB / 285.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.02159, allocations: 8 kB / 285.5 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008388/0.02243, allocations: 1.733 MB / 287.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.02243, allocations: 4 kB / 287.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.0227, allocations: 338.1 kB / 287.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.02272, allocations: 27.91 kB / 287.6 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.02273, allocations: 0 / 287.6 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.02282, allocations: 19.98 kB / 287.6 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.02285, allocations: 19.91 kB / 287.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.02286, allocations: 4 kB / 287.6 MB, free: 6.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.901e-05/0.02293, allocations: 181.3 kB / 287.8 MB, free: 5.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02293, allocations: 0 / 287.8 MB, free: 5.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.02315, allocations: 67.84 kB / 287.9 MB, free: 5.891 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 7.849e-05/0.02323, allocations: 111.4 kB / 288 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.02346, allocations: 284.3 kB / 288.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.02346, allocations: 0 / 288.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.02358, allocations: 229.5 kB / 288.5 MB, free: 5.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.02381, allocations: 38.8 kB / 288.5 MB, free: 5.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008414/0.02465, allocations: 0.565 MB / 289.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.0247, allocations: 80.56 kB / 289.2 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.02475, allocations: 25.92 kB / 289.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.02486, allocations: 118.2 kB / 289.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02486, allocations: 0 / 289.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of Templates: time 0.004431/0.02929, allocations: 2.741 MB / 292 MB, free: 1.676 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.861213750205934]