Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.88 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09639, allocations: 53.32 MB / 427.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.1963/0.2927, allocations: 7.545 MB / 434.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3029, allocations: 10.77 MB / 445.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.3043, allocations: 81.78 kB / 445.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.3063, allocations: 0.7104 MB / 446.2 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.3109, allocations: 1.197 MB / 447.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.3132, allocations: 0.674 MB / 448.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004256/0.3175, allocations: 2.574 MB / 450.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.3178, allocations: 181 kB / 450.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007871/0.3186, allocations: 0.4919 MB / 451.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.3192, allocations: 0.5321 MB / 451.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.707e-05/0.3193, allocations: 56.16 kB / 451.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.3212, allocations: 0.7725 MB / 452.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.3214, allocations: 189.9 kB / 452.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006412/0.322, allocations: 0.6777 MB / 453.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.3248, allocations: 1.951 MB / 455.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3248, allocations: 3.938 kB / 455.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3248, allocations: 3.219 kB / 455.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.3248, allocations: 0 / 455.5 MB, free: 11.97 MB / 366.1 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.003145/0.328, allocations: 2.045 MB / 457.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.328, allocations: 8.625 kB / 457.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.3283, allocations: 211.5 kB / 457.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.3302, allocations: 1.356 MB / 459.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.3302, allocations: 34.94 kB / 459.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.3303, allocations: 47.56 kB / 459.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009821/0.3313, allocations: 0.506 MB / 459.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3313, allocations: 0 / 459.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.3313, allocations: 19.81 kB / 459.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/0.3314, allocations: 17.17 kB / 459.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.3324, allocations: 477.5 kB / 460.2 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.3355, allocations: 2.093 MB / 462.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009885/0.3365, allocations: 0.6725 MB / 463 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.3372, allocations: 463.6 kB / 463.5 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006282/0.3435, allocations: 4.907 MB / 468.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006138/0.3441, allocations: 314.4 kB / 468.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.334e-06/0.3441, allocations: 0 / 468.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005124/0.3492, allocations: 2.422 MB / 471.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3492, allocations: 62.56 kB / 471.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.3508, allocations: 1.288 MB / 472.4 MB, free: 168 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.3508, allocations: 36.39 kB / 472.5 MB, free: 128 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006515/0.3515, allocations: 0.703 MB / 473.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.3517, allocations: 232.1 kB / 473.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.3518, allocations: 126.9 kB / 473.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.352, allocations: 331.8 kB / 473.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.3525, allocations: 215.8 kB / 474.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.353, allocations: 359.3 kB / 474.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.354, allocations: 0.6171 MB / 475 MB, free: 14.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.354, allocations: 6.25 kB / 475 MB, free: 14.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001654/0.3557, allocations: 0.9705 MB / 476 MB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3557, allocations: 6.875 kB / 476 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.763e-05/0.3558, allocations: 64.7 kB / 476.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004714/0.3563, allocations: 184.7 kB / 476.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.3567, allocations: 105.9 kB / 476.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/0.3601, allocations: 2.764 MB / 479.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/0.3608, allocations: 24.12 kB / 479.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.3609, allocations: 30.19 kB / 479.2 MB, free: 11.15 MB / 382.1 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.0004716/0.3613, allocations: 277.3 kB / 479.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.3615, allocations: 191 kB / 479.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.3636, allocations: 0.9641 MB / 480.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3636, allocations: 5.625 kB / 480.6 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3636, allocations: 4 kB / 480.6 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3636, allocations: 4 kB / 480.6 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.3648, allocations: 0.8943 MB / 481.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.832e-05/0.3649, allocations: 63.92 kB / 481.6 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.3652, allocations: 63.95 kB / 481.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/0.3657, allocations: 179.5 kB / 481.8 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.3657, allocations: 27.86 kB / 481.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.369, allocations: 2.75 MB / 484.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3691, allocations: 5.438 kB / 484.6 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.3713, allocations: 1.19 MB / 485.8 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.3717, allocations: 256 kB / 486 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.3718, allocations: 15.94 kB / 486.1 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.3722, allocations: 19.98 kB / 486.1 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.3724, allocations: 53.73 kB / 486.1 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/0.3724, allocations: 26.42 kB / 486.1 MB, free: 4.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.3735, allocations: 0.8496 MB / 487 MB, free: 3.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3735, allocations: 0 / 487 MB, free: 3.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001046/0.3746, allocations: 395.2 kB / 487.4 MB, free: 3.004 MB / 382.1 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.0008124/0.3754, allocations: 469.4 kB / 487.8 MB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.3771, allocations: 0.8781 MB / 488.7 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3771, allocations: 0 / 488.7 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.3782, allocations: 0.6042 MB / 489.3 MB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.3791, allocations: 208.1 kB / 489.5 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.3827, allocations: 2.464 MB / 492 MB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/0.3834, allocations: 1.174 MB / 493.2 MB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004397/0.3839, allocations: 179.2 kB / 493.3 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.384, allocations: 83.44 kB / 493.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.384, allocations: 7.875 kB / 493.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of Templates: time 0.02733/0.4114, allocations: 14.4 MB / 0.4959 GB, free: 14.49 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.030568272806704]