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.0009561/0.0009561, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000937/0.000937, allocations: 162.8 kB / 25.61 MB, free: 8.902 MB / 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 0.9336/0.9336, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.263e-06/1.263e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.866e-05, allocations: 2.312 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.01271/0.01273, allocations: 6.992 MB / 281.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01718/0.02991, allocations: 9.977 MB / 291.1 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007272/0.03063, allocations: 118.6 kB / 291.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.03194, allocations: 0.6505 MB / 291.9 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.03447, allocations: 1.24 MB / 293.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.03575, allocations: 0.6953 MB / 293.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.03867, allocations: 2.706 MB / 296.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005985/0.03927, allocations: 172.4 kB / 296.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.04052, allocations: 1.049 MB / 297.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.041, allocations: 402.6 kB / 298.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.439e-05/0.04108, allocations: 52 kB / 298.2 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.04215, allocations: 0.6946 MB / 298.9 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.04228, allocations: 194.8 kB / 299.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.04265, allocations: 386.7 kB / 299.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.04416, allocations: 1.506 MB / 301 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.04416, allocations: 0 / 301 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.04416, allocations: 0 / 301 MB, free: 9.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.04418, allocations: 0 / 301 MB, free: 9.5 MB / 282.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.00221/0.04639, allocations: 2.131 MB / 303.1 MB, free: 7.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.04642, allocations: 12.03 kB / 303.1 MB, free: 7.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.04665, allocations: 239.7 kB / 303.4 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.04833, allocations: 1.351 MB / 304.7 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.04836, allocations: 37.38 kB / 304.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.04843, allocations: 44.38 kB / 304.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.0489, allocations: 348.9 kB / 305.1 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.04891, allocations: 0 / 305.1 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.04895, allocations: 20 kB / 305.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.04896, allocations: 19.92 kB / 305.2 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.04927, allocations: 216.4 kB / 305.4 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.05123, allocations: 1.667 MB / 307 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.05162, allocations: 335.7 kB / 307.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.05194, allocations: 328.2 kB / 307.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003159/0.0551, allocations: 2.345 MB / 310 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.05535, allocations: 211.6 kB / 310.2 MB, free: 0 / 282.7 MB Notification: Performance of pre-optimization done (n=61): time 1.814e-06/0.05535, allocations: 48 / 310.2 MB, free: 16 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.002664/0.05801, allocations: 1.554 MB / 311.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.05804, allocations: 55.91 kB / 311.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.05913, allocations: 1.399 MB / 313.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.05916, allocations: 33.7 kB / 313.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005519/0.05971, allocations: 0.8338 MB / 314.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.05985, allocations: 226 kB / 314.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.06, allocations: 139.9 kB / 314.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.06012, allocations: 0.5043 MB / 315 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.06026, allocations: 89.59 kB / 315.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.06049, allocations: 305.1 kB / 315.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.06091, allocations: 466.2 kB / 315.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.06091, allocations: 0 / 315.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008468/0.06176, allocations: 0.7361 MB / 316.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.06177, allocations: 8 kB / 316.6 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.473e-05/0.06184, allocations: 67.98 kB / 316.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.06217, allocations: 158.1 kB / 316.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.06245, allocations: 103.8 kB / 316.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.06461, allocations: 2.684 MB / 319.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.0649, allocations: 23.98 kB / 319.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.06494, allocations: 27.94 kB / 319.6 MB, free: 6.262 MB / 298.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.0002019/0.06514, allocations: 208.3 kB / 319.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.06531, allocations: 198.9 kB / 320 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.06633, allocations: 0.7346 MB / 320.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.06633, allocations: 8 kB / 320.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.06634, allocations: 7.984 kB / 320.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.06634, allocations: 0 / 320.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.06698, allocations: 0.6025 MB / 321.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.131e-05/0.06705, allocations: 63.98 kB / 321.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.06725, allocations: 59.95 kB / 321.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003111/0.06756, allocations: 151.4 kB / 321.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.06759, allocations: 20 kB / 321.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.06947, allocations: 2.683 MB / 324.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.06947, allocations: 0 / 324.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.07044, allocations: 0.8188 MB / 325.2 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.07085, allocations: 182.8 kB / 325.3 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.07096, allocations: 15.98 kB / 325.4 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.07121, allocations: 16 kB / 325.4 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.0713, allocations: 52.41 kB / 325.4 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.07134, allocations: 27.92 kB / 325.5 MB, free: 236 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005907/0.07193, allocations: 0.7554 MB / 326.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07193, allocations: 0 / 326.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007067/0.07263, allocations: 395.2 kB / 326.6 MB, free: 15.1 MB / 314.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.0006039/0.07324, allocations: 0.5157 MB / 327.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008292/0.07407, allocations: 0.7546 MB / 327.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.07407, allocations: 0 / 327.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005696/0.07464, allocations: 0.5855 MB / 328.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.07529, allocations: 222.1 kB / 328.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.07765, allocations: 2.235 MB / 330.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.07782, allocations: 240.6 kB / 331.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.07817, allocations: 187.2 kB / 331.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/0.07854, allocations: 314.1 kB / 331.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.07854, allocations: 0 / 331.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of Templates: time 0.02566/0.1042, allocations: 16.78 MB / 348.4 MB, free: 9.242 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] 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","",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.219702566973865]