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.00144/0.00144, allocations: 75.77 kB / 22.46 MB, free: 2.09 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.0009831/0.0009831, allocations: 164 kB / 25.75 MB, free: 8.949 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.891/0.891, allocations: 158.6 MB / 187.5 MB, free: 2.555 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.313e-06/1.313e-06, allocations: 0 / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.732e-05, allocations: 2.312 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007535/0.007553, allocations: 6.976 MB / 258.1 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.02314, allocations: 9.79 MB / 267.9 MB, free: 6.938 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.02453, allocations: 122.6 kB / 268 MB, free: 6.816 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.02642, allocations: 0.6344 MB / 268.6 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.03071, allocations: 1.225 MB / 269.8 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.03303, allocations: 0.6796 MB / 270.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004161/0.03719, allocations: 2.577 MB / 273.1 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.03751, allocations: 172.4 kB / 273.3 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.03817, allocations: 0.6818 MB / 274 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003755/0.03854, allocations: 366.7 kB / 274.3 MB, free: 448 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.872e-05/0.03862, allocations: 56 kB / 274.4 MB, free: 392 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.03967, allocations: 0.6752 MB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.03978, allocations: 186.8 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.04008, allocations: 378.8 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.04141, allocations: 1.471 MB / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.04141, allocations: 7.984 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.04141, allocations: 4 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.04143, allocations: 0 / 277.1 MB, free: 13.66 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.001816/0.04324, allocations: 2.089 MB / 279.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.04328, allocations: 11.98 kB / 279.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.04349, allocations: 239.7 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.04476, allocations: 1.41 MB / 280.8 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.04478, allocations: 37.12 kB / 280.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.04485, allocations: 55.94 kB / 280.9 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.04536, allocations: 385 kB / 281.3 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.04537, allocations: 3.938 kB / 281.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.0454, allocations: 16 kB / 281.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.04542, allocations: 19.98 kB / 281.3 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.0458, allocations: 258.5 kB / 281.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.0477, allocations: 1.888 MB / 283.5 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.04812, allocations: 383.7 kB / 283.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.04848, allocations: 356.3 kB / 284.2 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003395/0.05187, allocations: 2.61 MB / 286.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.05217, allocations: 227.8 kB / 287 MB, free: 3.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.485e-06/0.05217, allocations: 0 / 287 MB, free: 3.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001921/0.05409, allocations: 1.553 MB / 288.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.05412, allocations: 59.84 kB / 288.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.05521, allocations: 1.428 MB / 290.1 MB, free: 380 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.05523, allocations: 33.7 kB / 290.1 MB, free: 340 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/0.05572, allocations: 0.8222 MB / 290.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.05584, allocations: 210.2 kB / 291.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.05595, allocations: 124 kB / 291.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.05607, allocations: 0.5043 MB / 291.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.05623, allocations: 113.5 kB / 291.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.0565, allocations: 338.2 kB / 292.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.05713, allocations: 0.6321 MB / 292.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.05713, allocations: 0 / 292.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008185/0.05795, allocations: 0.7715 MB / 293.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.05797, allocations: 8 kB / 293.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.243e-05/0.05802, allocations: 59.94 kB / 293.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.05834, allocations: 147.5 kB / 293.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.05861, allocations: 111.8 kB / 293.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.06043, allocations: 2.617 MB / 296.5 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.06067, allocations: 20 kB / 296.6 MB, free: 9.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.06071, allocations: 28 kB / 296.6 MB, free: 9.504 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.0002689/0.06098, allocations: 204.4 kB / 296.8 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.06112, allocations: 202.9 kB / 297 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/0.06206, allocations: 0.7283 MB / 297.7 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.06206, allocations: 12 kB / 297.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.06207, allocations: 3.984 kB / 297.7 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.06208, allocations: 7.984 kB / 297.7 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.06277, allocations: 0.7927 MB / 298.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.06282, allocations: 52 kB / 298.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.06297, allocations: 59.95 kB / 298.6 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002619/0.06323, allocations: 127.7 kB / 298.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.06326, allocations: 15.98 kB / 298.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.06492, allocations: 2.616 MB / 301.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.06492, allocations: 4 kB / 301.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.06581, allocations: 0.8046 MB / 302.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.066, allocations: 186.8 kB / 302.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.06607, allocations: 8 kB / 302.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.06625, allocations: 19.92 kB / 302.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.06634, allocations: 44.42 kB / 302.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.06637, allocations: 28 kB / 302.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006636/0.06704, allocations: 0.8069 MB / 303.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06704, allocations: 0 / 303.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007093/0.06775, allocations: 387.2 kB / 303.7 MB, free: 2.223 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.0005599/0.06831, allocations: 0.4955 MB / 304.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008815/0.06919, allocations: 0.7391 MB / 304.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.06919, allocations: 4 kB / 304.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.0697, allocations: 0.555 MB / 305.5 MB, free: 364 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.07019, allocations: 190.3 kB / 305.6 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.07245, allocations: 2.232 MB / 307.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.07263, allocations: 232.5 kB / 308.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003198/0.07295, allocations: 187.2 kB / 308.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.313e-05/0.07304, allocations: 84.5 kB / 308.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of SimCode: time 2.575e-06/0.07305, allocations: 4 kB / 308.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of Templates: time 0.01869/0.09174, allocations: 13.87 MB / 322.2 MB, free: 15.5 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.0642683871556073]