Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 84.98 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 176.2 kB / 26.39 MB, free: 8.008 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8801/0.8801, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 7.938 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.392e-05, allocations: 2.312 kB / 252.2 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005022/0.005036, allocations: 6.836 MB / 259.1 MB, free: 392 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007479/0.01251, allocations: 9.618 MB / 268.7 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004112/0.01293, allocations: 118.6 kB / 268.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000879/0.0138, allocations: 0.6422 MB / 269.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.01526, allocations: 1.221 MB / 270.7 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00095/0.01621, allocations: 0.6874 MB / 271.4 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.01866, allocations: 2.632 MB / 274 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.01903, allocations: 180.3 kB / 274.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.02006, allocations: 0.9863 MB / 275.2 MB, free: 212 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.02049, allocations: 394.7 kB / 275.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.02056, allocations: 56 kB / 275.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008548/0.02142, allocations: 0.6596 MB / 276.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.02154, allocations: 186.8 kB / 276.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.02184, allocations: 386.8 kB / 276.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.02346, allocations: 1.498 MB / 278.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.02346, allocations: 0 / 278.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02346, allocations: 0 / 278.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.381e-05/0.02349, allocations: 0 / 278.3 MB, free: 13.04 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00181/0.0253, allocations: 2.135 MB / 280.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.02534, allocations: 11.98 kB / 280.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.02557, allocations: 247.7 kB / 280.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.02698, allocations: 1.355 MB / 282.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.027, allocations: 33.12 kB / 282.1 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.02706, allocations: 51.95 kB / 282.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.02744, allocations: 340.9 kB / 282.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.02745, allocations: 0 / 282.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.02749, allocations: 20 kB / 282.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.0275, allocations: 16 kB / 282.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.02774, allocations: 224.4 kB / 282.7 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.02937, allocations: 1.659 MB / 284.4 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.02967, allocations: 335.7 kB / 284.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.02992, allocations: 312.3 kB / 285 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00312/0.03304, allocations: 2.618 MB / 287.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.03325, allocations: 207.7 kB / 287.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 1.994e-06/0.03326, allocations: 0 / 287.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.002011/0.03527, allocations: 1.211 MB / 289.1 MB, free: 2.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.0353, allocations: 59.91 kB / 289.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.03642, allocations: 1.407 MB / 290.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.03647, allocations: 33.7 kB / 290.6 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.03696, allocations: 0.8454 MB / 291.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.0371, allocations: 214.1 kB / 291.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.03723, allocations: 135.9 kB / 291.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.03736, allocations: 0.5042 MB / 292.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.03747, allocations: 89.59 kB / 292.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.03768, allocations: 326 kB / 292.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.03817, allocations: 0.5619 MB / 293.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.03818, allocations: 0 / 293.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007741/0.03895, allocations: 0.709 MB / 293.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.03897, allocations: 8.625 kB / 293.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.679e-05/0.03903, allocations: 59.98 kB / 294 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.0393, allocations: 143 kB / 294.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.03955, allocations: 111.8 kB / 294.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.04125, allocations: 2.555 MB / 296.8 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.04156, allocations: 27.98 kB / 296.8 MB, free: 9.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.0416, allocations: 28 kB / 296.9 MB, free: 9.871 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002641/0.04187, allocations: 196.4 kB / 297 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.04203, allocations: 202.8 kB / 297.2 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.04285, allocations: 0.6816 MB / 297.9 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.04286, allocations: 4 kB / 297.9 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.04286, allocations: 11.92 kB / 297.9 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.04287, allocations: 0 / 297.9 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.04345, allocations: 0.579 MB / 298.5 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.071e-05/0.0435, allocations: 52 kB / 298.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.04366, allocations: 63.89 kB / 298.6 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.0439, allocations: 135.5 kB / 298.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.04393, allocations: 20 kB / 298.8 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.04548, allocations: 2.531 MB / 301.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.04548, allocations: 7.922 kB / 301.3 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000745/0.04623, allocations: 0.7459 MB / 302.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.04644, allocations: 186.8 kB / 302.2 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.04653, allocations: 8 kB / 302.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.04671, allocations: 19.97 kB / 302.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.04679, allocations: 48.42 kB / 302.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.04682, allocations: 23.98 kB / 302.3 MB, free: 4.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004956/0.04732, allocations: 0.7635 MB / 303.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.04732, allocations: 0 / 303.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006433/0.04796, allocations: 383.2 kB / 303.5 MB, free: 3.055 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005838/0.04854, allocations: 0.5117 MB / 304 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000736/0.04928, allocations: 0.7 MB / 304.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.04928, allocations: 0 / 304.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.04974, allocations: 0.5394 MB / 305.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.05021, allocations: 190.3 kB / 305.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.05229, allocations: 2.216 MB / 307.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.05244, allocations: 236.5 kB / 307.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003059/0.05274, allocations: 187.2 kB / 308.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.05306, allocations: 318.1 kB / 308.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.05306, allocations: 0 / 308.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of Templates: time 0.0216/0.07466, allocations: 15.86 MB / 324.2 MB, free: 14.17 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.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: 3.035531616769731]