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.000951/0.000951, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.0009966/0.0009966, allocations: 165.4 kB / 24.82 MB, free: 9.312 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.013/1.013, allocations: 177 MB / 205.1 MB, free: 5.473 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.854e-06/1.854e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.031e-05, allocations: 2.312 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.006508/0.006538, allocations: 2.621 MB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004279/0.01082, allocations: 0.666 MB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.01101, allocations: 4 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.01116, allocations: 47.52 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.01143, allocations: 91.17 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.01158, allocations: 67.91 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.0119, allocations: 326.4 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.01208, allocations: 73 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.01229, allocations: 179.6 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.01245, allocations: 91.69 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.01249, allocations: 28 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.673e-05/0.01253, allocations: 24 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.01257, allocations: 59.77 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.464e-05/0.01266, allocations: 95.75 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00326/0.01592, allocations: 199.2 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01592, allocations: 0 / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01592, allocations: 4 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.01593, allocations: 0 / 277.9 MB, free: 12.6 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.0007171/0.01665, allocations: 0.5857 MB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.01669, allocations: 15.98 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.01677, allocations: 48.75 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.01702, allocations: 212.1 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.01704, allocations: 16.88 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.01708, allocations: 28.38 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.01759, allocations: 251.5 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.0176, allocations: 192 / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.01762, allocations: 8.375 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.01763, allocations: 7.938 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.01774, allocations: 79.42 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.01881, allocations: 0.7733 MB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.02213, allocations: 170.1 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.02228, allocations: 94.75 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.0223, allocations: 4 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.02233, allocations: 41.39 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.063e-06/0.02233, allocations: 0 / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003979/0.02273, allocations: 193.4 kB / 280.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.02276, allocations: 55.41 kB / 280.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.02293, allocations: 254.6 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.02295, allocations: 29.7 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.02305, allocations: 218.9 kB / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.0231, allocations: 67.42 kB / 281 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.02317, allocations: 59.3 kB / 281.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.0233, allocations: 0.5001 MB / 281.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.02335, allocations: 27.97 kB / 281.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.02343, allocations: 97.77 kB / 281.7 MB, free: 8.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.02358, allocations: 149.6 kB / 281.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.02358, allocations: 0 / 281.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002731/0.02385, allocations: 202.2 kB / 282.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.02387, allocations: 4 kB / 282.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.02388, allocations: 0 / 282.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.02404, allocations: 39.66 kB / 282.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.02419, allocations: 47.92 kB / 282.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.02814, allocations: 1.753 MB / 283.9 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.02826, allocations: 23.77 kB / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.02828, allocations: 8 kB / 283.9 MB, free: 6.152 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.0001135/0.02839, allocations: 168.5 kB / 284.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.02844, allocations: 27.86 kB / 284.1 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.02847, allocations: 25.8 kB / 284.2 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.02847, allocations: 4 kB / 284.2 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.02848, allocations: 0 / 284.2 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.02848, allocations: 3.938 kB / 284.2 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.02903, allocations: 473.3 kB / 284.6 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.02903, allocations: 0 / 284.6 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.02915, allocations: 35.97 kB / 284.7 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.02926, allocations: 43.62 kB / 284.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.02927, allocations: 3.984 kB / 284.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.03033, allocations: 1.741 MB / 286.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.03034, allocations: 0 / 286.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.03062, allocations: 335.5 kB / 286.8 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/0.03238, allocations: 19.84 kB / 286.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.03241, allocations: 7.938 kB / 286.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.03253, allocations: 24.05 kB / 286.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.03258, allocations: 19.91 kB / 286.8 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.0326, allocations: 4 kB / 286.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.931e-05/0.0327, allocations: 177.4 kB / 287 MB, free: 2.863 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0327, allocations: 0 / 287 MB, free: 2.863 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.03303, allocations: 71.84 kB / 287.1 MB, free: 2.793 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.0001245/0.03315, allocations: 99.23 kB / 287.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.03346, allocations: 293.3 kB / 287.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.03346, allocations: 4 kB / 287.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.03362, allocations: 236.5 kB / 287.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.03394, allocations: 31.97 kB / 287.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.03507, allocations: 0.5537 MB / 288.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.03513, allocations: 84.55 kB / 288.4 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.124e-05/0.0352, allocations: 21.95 kB / 288.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.03532, allocations: 114.2 kB / 288.5 MB, free: 1.277 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.03532, allocations: 0 / 288.5 MB, free: 1.277 MB / 266.7 MB Notification: Performance of Templates: time 0.004989/0.04031, allocations: 2.676 MB / 291.2 MB, free: 14.63 MB / 282.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.792762938886881]