Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001425/0.001425, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001572/0.001572, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.471e-05, allocations: 6.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009065/0.00909, allocations: 6.47 MB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.02338, allocations: 9.336 MB / 288.1 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.02443, allocations: 122.6 kB / 288.2 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.0262, allocations: 0.6539 MB / 288.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1145/0.1407, allocations: 1.238 MB / 290.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.1429, allocations: 0.6814 MB / 290.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003806/0.1467, allocations: 2.644 MB / 293.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.147, allocations: 173 kB / 293.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.1481, allocations: 0.7193 MB / 294.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.1486, allocations: 378 kB / 294.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.1487, allocations: 55.03 kB / 294.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.1502, allocations: 0.6952 MB / 295.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1503, allocations: 184.3 kB / 295.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.1508, allocations: 388.3 kB / 296 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.1529, allocations: 1.995 MB / 298 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1529, allocations: 0 / 298 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1529, allocations: 0 / 298 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.153, allocations: 1.125 kB / 298 MB, free: 14.24 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.002509/0.1555, allocations: 1.955 MB / 300 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1555, allocations: 10.25 kB / 300 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.1558, allocations: 234.3 kB / 300.2 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.1575, allocations: 1.414 MB / 301.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.1575, allocations: 30.06 kB / 301.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.1576, allocations: 49.02 kB / 301.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008704/0.1585, allocations: 0.5085 MB / 302.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1585, allocations: 7.781 kB / 302.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.1586, allocations: 20.16 kB / 302.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1586, allocations: 14.58 kB / 302.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/0.1594, allocations: 484.1 kB / 302.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.162, allocations: 1.884 MB / 304.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008159/0.1628, allocations: 0.4972 MB / 305.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/0.1634, allocations: 466.1 kB / 305.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004422/0.1678, allocations: 2.367 MB / 307.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.1683, allocations: 312.1 kB / 308.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 2.495e-06/0.1683, allocations: 6.656 kB / 308.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.004411/0.1728, allocations: 2.282 MB / 310.5 MB, free: 7.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1728, allocations: 63.84 kB / 310.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.1739, allocations: 1.299 MB / 311.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.174, allocations: 33.7 kB / 311.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.1744, allocations: 0.7002 MB / 312.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1745, allocations: 239.9 kB / 312.9 MB, free: 5.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1746, allocations: 118.3 kB / 313 MB, free: 5.316 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.1747, allocations: 330 kB / 313.3 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.175, allocations: 217.5 kB / 313.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.1755, allocations: 359.5 kB / 313.9 MB, free: 4.371 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.1763, allocations: 0.6162 MB / 314.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1763, allocations: 0 / 314.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001407/0.1777, allocations: 0.9887 MB / 315.5 MB, free: 2.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1777, allocations: 8 kB / 315.5 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.087e-05/0.1778, allocations: 67.98 kB / 315.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005257/0.1783, allocations: 203.9 kB / 315.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.1787, allocations: 105.8 kB / 315.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.1814, allocations: 2.614 MB / 318.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.1819, allocations: 36.02 kB / 318.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/0.182, allocations: 32 kB / 318.5 MB, free: 15.63 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004858/0.1825, allocations: 268.5 kB / 318.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.1828, allocations: 206.8 kB / 319 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.1852, allocations: 0.9696 MB / 319.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.1853, allocations: 8.609 kB / 320 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1853, allocations: 4 kB / 320 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.1853, allocations: 3.984 kB / 320 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.1865, allocations: 0.7375 MB / 320.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.83e-05/0.1866, allocations: 63.98 kB / 320.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.1869, allocations: 67.73 kB / 320.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005952/0.1875, allocations: 186.8 kB / 321 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/0.1876, allocations: 23.98 kB / 321 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003989/0.1916, allocations: 2.62 MB / 323.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1916, allocations: 0 / 323.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.1945, allocations: 1.207 MB / 324.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.1949, allocations: 178.9 kB / 325 MB, free: 9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.1951, allocations: 7.984 kB / 325 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.1955, allocations: 23.98 kB / 325.1 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.1957, allocations: 53.95 kB / 325.1 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.1957, allocations: 30.72 kB / 325.2 MB, free: 8.891 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001827/0.1975, allocations: 0.8535 MB / 326 MB, free: 8.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1975, allocations: 0 / 326 MB, free: 8.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001824/0.1994, allocations: 395.2 kB / 326.4 MB, free: 7.66 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 (31): * Single equations (assignments): 25 * 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,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/0.2007, allocations: 0.4906 MB / 326.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003221/0.2039, allocations: 0.8778 MB / 327.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2039, allocations: 0 / 327.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.2057, allocations: 0.6242 MB / 328.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.2074, allocations: 220.1 kB / 328.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.2136, allocations: 2.401 MB / 331 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.2146, allocations: 0.5869 MB / 331.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008807/0.2155, allocations: 187.4 kB / 331.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.2157, allocations: 84.5 kB / 331.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2157, allocations: 0 / 331.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of Templates: time 0.04957/0.2653, allocations: 14.58 MB / 346.4 MB, free: 3.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.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.864502402022481]