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.001527/0.001527, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.00157/0.00157, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 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.528/1.528, allocations: 177 MB / 204.4 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.404e-06/2.404e-06, allocations: 0 / 272.3 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.503e-05, allocations: 2.312 kB / 272.3 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.007234/0.007269, allocations: 2.456 MB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.009718, allocations: 0.6581 MB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.01001, allocations: 4 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.01059, allocations: 47.56 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.01116, allocations: 95.19 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.01147, allocations: 67.83 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.01222, allocations: 326.4 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.01251, allocations: 69.62 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.01292, allocations: 175.7 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.01322, allocations: 91.7 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-05/0.01332, allocations: 27.94 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.01341, allocations: 28 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.01351, allocations: 55.75 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.01373, allocations: 99.69 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.0144, allocations: 295.1 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.0144, allocations: 0 / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01441, allocations: 0 / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.01442, allocations: 0 / 276.7 MB, free: 13.23 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.001511/0.01593, allocations: 497.4 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.01599, allocations: 15.98 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.01616, allocations: 44.8 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/0.01683, allocations: 205.3 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.01687, allocations: 24.88 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.01696, allocations: 24.38 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.01778, allocations: 319.5 kB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.01779, allocations: 192 / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.01784, allocations: 8.375 kB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.01786, allocations: 15.94 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005666/0.01843, allocations: 169.9 kB / 278 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.02115, allocations: 0.793 MB / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.02196, allocations: 174.7 kB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.02245, allocations: 116.8 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.02248, allocations: 0 / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.02253, allocations: 42.5 kB / 279.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.064e-06/0.02253, allocations: 0 / 279.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.001052/0.02359, allocations: 249.2 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.02366, allocations: 63.33 kB / 279.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.02408, allocations: 207.8 kB / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.02412, allocations: 29.7 kB / 279.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.02433, allocations: 168.2 kB / 279.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.02444, allocations: 75.36 kB / 279.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.02459, allocations: 49.7 kB / 280 MB, free: 9.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002923/0.02488, allocations: 330.8 kB / 280.3 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.02508, allocations: 51.98 kB / 280.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.02536, allocations: 114 kB / 280.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.02583, allocations: 179.9 kB / 280.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.02583, allocations: 0 / 280.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007966/0.02663, allocations: 254.9 kB / 280.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.02665, allocations: 4.188 kB / 280.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.02666, allocations: 8 kB / 280.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.02704, allocations: 40.77 kB / 280.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.02744, allocations: 43.98 kB / 281 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.02903, allocations: 1.288 MB / 282.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.0292, allocations: 35.81 kB / 282.3 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.02922, allocations: 8 kB / 282.3 MB, free: 7.281 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.0001611/0.02938, allocations: 137.8 kB / 282.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.02945, allocations: 27.86 kB / 282.5 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.02951, allocations: 25.8 kB / 282.5 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.02952, allocations: 7.938 kB / 282.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.02952, allocations: 3.938 kB / 282.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.02952, allocations: 0 / 282.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/0.03041, allocations: 487.9 kB / 283 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.03041, allocations: 0 / 283 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.03061, allocations: 39.97 kB / 283 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.03076, allocations: 36.83 kB / 283 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.03078, allocations: 4 kB / 283 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.03204, allocations: 1.284 MB / 284.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.03205, allocations: 7.875 kB / 284.3 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.03255, allocations: 349.6 kB / 284.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.0326, allocations: 19.83 kB / 284.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.03263, allocations: 8 kB / 284.7 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.03282, allocations: 11.98 kB / 284.7 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.03289, allocations: 20.05 kB / 284.7 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.0329, allocations: 8 kB / 284.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001643/0.03306, allocations: 157.5 kB / 284.9 MB, free: 4.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03306, allocations: 0 / 284.9 MB, free: 4.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000349/0.03341, allocations: 67.89 kB / 285 MB, free: 4.422 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.0001503/0.03356, allocations: 103.2 kB / 285.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.03406, allocations: 272.5 kB / 285.3 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.03406, allocations: 4.062 kB / 285.3 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.03433, allocations: 182.5 kB / 285.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.03471, allocations: 36.52 kB / 285.6 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.03622, allocations: 0.5764 MB / 286.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.03639, allocations: 138.4 kB / 286.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.822e-05/0.03649, allocations: 21.94 kB / 286.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.03655, allocations: 28.48 kB / 286.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03655, allocations: 0 / 286.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of Templates: time 0.007259/0.04381, allocations: 2.468 MB / 288.8 MB, free: 0.5586 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.376142467954196]