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.001771/0.001771, allocations: 107 kB / 19.8 MB, free: 2.5 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.002323/0.002323, allocations: 215.7 kB / 23 MB, free: 5.574 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.423/1.423, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.001821/0.001821, allocations: 55.91 kB / 376.4 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2398, allocations: 53.33 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008563/0.2484, allocations: 7.557 MB / 437.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.2623, allocations: 10.78 MB / 448.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.2638, allocations: 79.31 kB / 448.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.2658, allocations: 0.7153 MB / 448.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.2697, allocations: 1.204 MB / 450.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.2716, allocations: 0.6739 MB / 450.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004241/0.2758, allocations: 2.572 MB / 453.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.2762, allocations: 176 kB / 453.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007374/0.2769, allocations: 0.4976 MB / 454 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.2775, allocations: 0.5317 MB / 454.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.2776, allocations: 56 kB / 454.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.2794, allocations: 0.7649 MB / 455.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.2796, allocations: 186.8 kB / 455.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006244/0.2802, allocations: 0.6793 MB / 456.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.2829, allocations: 1.956 MB / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.2829, allocations: 4 kB / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2829, allocations: 0 / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.539e-05/0.2829, allocations: 0 / 458.2 MB, free: 11 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.003434/0.2863, allocations: 2.042 MB / 460.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2864, allocations: 12.02 kB / 460.3 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.2866, allocations: 207.7 kB / 460.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.2886, allocations: 1.351 MB / 461.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.2886, allocations: 36.88 kB / 461.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.2887, allocations: 63.83 kB / 461.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/0.2897, allocations: 0.5119 MB / 462.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2897, allocations: 0 / 462.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.2897, allocations: 16 kB / 462.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.2897, allocations: 19.98 kB / 462.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009384/0.2907, allocations: 472.1 kB / 462.9 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.2939, allocations: 2.093 MB / 465 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009991/0.2949, allocations: 0.6572 MB / 465.7 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.2956, allocations: 457.8 kB / 466.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006218/0.3018, allocations: 4.924 MB / 471 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000614/0.3024, allocations: 314 kB / 471.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.304e-06/0.3024, allocations: 0 / 471.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005054/0.3075, allocations: 2.421 MB / 473.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.3075, allocations: 59.83 kB / 473.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.3091, allocations: 1.288 MB / 475.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.3092, allocations: 37.64 kB / 475.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/0.3098, allocations: 0.708 MB / 475.9 MB, free: 8.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.31, allocations: 234 kB / 476.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.3102, allocations: 122.3 kB / 476.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3104, allocations: 330 kB / 476.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.3108, allocations: 217.5 kB / 476.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.3114, allocations: 356.5 kB / 477.1 MB, free: 7.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3124, allocations: 0.619 MB / 477.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3124, allocations: 0 / 477.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001788/0.3142, allocations: 0.9665 MB / 478.7 MB, free: 5.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3142, allocations: 4 kB / 478.7 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.3143, allocations: 71.97 kB / 478.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/0.3149, allocations: 180.6 kB / 478.9 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.3153, allocations: 111.9 kB / 479 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.3187, allocations: 2.766 MB / 481.8 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3192, allocations: 27.97 kB / 481.8 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.3193, allocations: 36 kB / 481.9 MB, free: 2.059 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.000443/0.3197, allocations: 273.6 kB / 482.1 MB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.3199, allocations: 190.8 kB / 482.3 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.3219, allocations: 0.9603 MB / 483.3 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3219, allocations: 8 kB / 483.3 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3219, allocations: 4 kB / 483.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3219, allocations: 3.984 kB / 483.3 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.3231, allocations: 0.8981 MB / 484.2 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-05/0.3232, allocations: 63.94 kB / 484.2 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.3235, allocations: 63.89 kB / 484.3 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.324, allocations: 176.7 kB / 484.5 MB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/0.324, allocations: 27.92 kB / 484.5 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/0.3273, allocations: 2.752 MB / 487.3 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3273, allocations: 0 / 487.3 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.3295, allocations: 1.19 MB / 488.5 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.3299, allocations: 260 kB / 488.7 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.33, allocations: 15.94 kB / 488.7 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.3303, allocations: 19.97 kB / 488.7 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.3305, allocations: 48.38 kB / 488.8 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/0.3306, allocations: 24.19 kB / 488.8 MB, free: 10.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.3317, allocations: 0.8613 MB / 489.7 MB, free: 9.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3317, allocations: 0 / 489.7 MB, free: 9.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000942/0.3326, allocations: 387.2 kB / 490.1 MB, free: 9.609 MB / 398.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.0008144/0.3335, allocations: 471.4 kB / 490.5 MB, free: 9.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.3352, allocations: 0.8743 MB / 491.4 MB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3353, allocations: 0 / 491.4 MB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.3363, allocations: 0.6041 MB / 492 MB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.3372, allocations: 218.1 kB / 492.2 MB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.3411, allocations: 2.468 MB / 494.7 MB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008171/0.3419, allocations: 1.174 MB / 495.8 MB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.3424, allocations: 191.1 kB / 496 MB, free: 3.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.3426, allocations: 83.44 kB / 496.1 MB, free: 3.418 MB / 398.1 MB Notification: Performance of SimCode: time 1.143e-06/0.3426, allocations: 0 / 496.1 MB, free: 3.418 MB / 398.1 MB Notification: Performance of Templates: time 0.02882/0.3714, allocations: 14.64 MB / 0.4988 GB, free: 4.832 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: 4.95095406845212]