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.0009005/0.0009005, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009546/0.0009546, allocations: 164.7 kB / 25.69 MB, free: 8.414 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.8354/0.8354, allocations: 158.6 MB / 187.6 MB, free: 2.793 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 1.192e-06/1.192e-06, allocations: 0 / 251.5 MB, free: 7.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.901e-05, allocations: 2.312 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005151/0.00517, allocations: 6.844 MB / 258.4 MB, free: 420 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009214/0.01438, allocations: 9.826 MB / 268.2 MB, free: 6.539 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.01539, allocations: 126.6 kB / 268.3 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.01666, allocations: 0.6541 MB / 269 MB, free: 5.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.01937, allocations: 1.254 MB / 270.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.02056, allocations: 0.6815 MB / 270.9 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.02307, allocations: 2.624 MB / 273.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.02337, allocations: 197 kB / 273.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009122/0.02428, allocations: 0.9746 MB / 274.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.02469, allocations: 394.7 kB / 275.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.02477, allocations: 60 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.02583, allocations: 0.6635 MB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.02597, allocations: 186.8 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.02631, allocations: 390.8 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.0279, allocations: 1.498 MB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.0279, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0279, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.02792, allocations: 0 / 277.9 MB, free: 12.79 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.001568/0.02949, allocations: 1.941 MB / 279.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.02952, allocations: 15.98 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.02971, allocations: 164.8 kB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.03077, allocations: 1.076 MB / 281.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.03079, allocations: 33.12 kB / 281.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.03085, allocations: 55.95 kB / 281.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.03122, allocations: 343.7 kB / 281.5 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.03123, allocations: 0 / 281.5 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.03127, allocations: 19.98 kB / 281.5 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.03128, allocations: 16 kB / 281.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.03149, allocations: 164.4 kB / 281.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.03289, allocations: 1.243 MB / 282.9 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.03319, allocations: 354.7 kB / 283.3 MB, free: 7.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.03342, allocations: 281.6 kB / 283.5 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003698/0.03712, allocations: 2.642 MB / 286.2 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.03732, allocations: 190.1 kB / 286.4 MB, free: 4.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.364e-06/0.03732, allocations: 0 / 286.4 MB, free: 4.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001506/0.03883, allocations: 1.015 MB / 287.4 MB, free: 3.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.03886, allocations: 59.89 kB / 287.4 MB, free: 2.961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006525/0.03951, allocations: 1.186 MB / 288.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.03954, allocations: 33.7 kB / 288.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.03974, allocations: 428.2 kB / 289.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.847e-05/0.03984, allocations: 206.2 kB / 289.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.03994, allocations: 114.2 kB / 289.4 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.04002, allocations: 337.9 kB / 289.7 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.0401, allocations: 61.64 kB / 289.8 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.04025, allocations: 239.8 kB / 290 MB, free: 304 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.04062, allocations: 480.9 kB / 290.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.04062, allocations: 4 kB / 290.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005031/0.04112, allocations: 0.5278 MB / 291 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.04114, allocations: 8 kB / 291 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/0.04118, allocations: 16.61 kB / 291 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/0.0414, allocations: 128.2 kB / 291.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.04187, allocations: 115.8 kB / 291.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.0431, allocations: 1.828 MB / 293.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.04329, allocations: 23.92 kB / 293.1 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.04333, allocations: 24 kB / 293.2 MB, free: 12.98 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.0001993/0.04353, allocations: 157.6 kB / 293.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.04363, allocations: 135.8 kB / 293.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006389/0.04427, allocations: 0.5509 MB / 294 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.04427, allocations: 8 kB / 294 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.04427, allocations: 0 / 294 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.04428, allocations: 11.92 kB / 294 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.04489, allocations: 490.9 kB / 294.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/0.04494, allocations: 8 kB / 294.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.04516, allocations: 59.95 kB / 294.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/0.04546, allocations: 123.7 kB / 294.7 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.04549, allocations: 4 kB / 294.7 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.04692, allocations: 1.831 MB / 296.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.04692, allocations: 0 / 296.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.0475, allocations: 0.5672 MB / 297.1 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.04766, allocations: 150.8 kB / 297.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.04773, allocations: 12 kB / 297.2 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.04789, allocations: 19.98 kB / 297.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.04797, allocations: 36.42 kB / 297.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.04799, allocations: 19.98 kB / 297.3 MB, free: 8.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003782/0.04837, allocations: 0.6058 MB / 297.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.04837, allocations: 0 / 297.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006024/0.04897, allocations: 387.2 kB / 298.3 MB, free: 7.711 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.0007636/0.04974, allocations: 0.4973 MB / 298.8 MB, free: 7.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005884/0.05032, allocations: 0.5606 MB / 299.4 MB, free: 6.617 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.05034, allocations: 16 kB / 299.4 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.05068, allocations: 427 kB / 299.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.05106, allocations: 182.3 kB / 300 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.0529, allocations: 2.093 MB / 302.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.0532, allocations: 232.6 kB / 302.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.05349, allocations: 187.2 kB / 302.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.05377, allocations: 265.2 kB / 302.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.05377, allocations: 0 / 302.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of Templates: time 0.02044/0.07422, allocations: 15.61 MB / 318.3 MB, free: 3.543 MB / 298.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: 2.834735929965973]