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.00173/0.00173, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002129/0.002129, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.451/1.451, allocations: 230.3 MB / 258 MB, free: 8.254 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.001886/0.001886, allocations: 63.89 kB / 378.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2595, allocations: 53.37 MB / 432.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009081/0.2686, allocations: 7.554 MB / 439.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.2822, allocations: 10.79 MB / 450.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.2834, allocations: 118.6 kB / 450.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.2853, allocations: 0.7142 MB / 451.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004/0.2893, allocations: 1.206 MB / 452.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.2913, allocations: 0.6761 MB / 453.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004333/0.2956, allocations: 2.578 MB / 455.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.296, allocations: 180.3 kB / 455.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006979/0.2967, allocations: 0.5094 MB / 456.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.2973, allocations: 0.5356 MB / 457 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.2974, allocations: 59.94 kB / 457 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.2992, allocations: 0.7688 MB / 457.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.2994, allocations: 186.8 kB / 458 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006732/0.3001, allocations: 0.6754 MB / 458.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.3027, allocations: 1.96 MB / 460.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3027, allocations: 0 / 460.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3027, allocations: 0 / 460.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.3027, allocations: 0 / 460.6 MB, free: 10.41 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.003132/0.3058, allocations: 1.967 MB / 462.6 MB, free: 8.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.3059, allocations: 8.031 kB / 462.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.3061, allocations: 207.7 kB / 462.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.3082, allocations: 1.244 MB / 464 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.3082, allocations: 36.94 kB / 464.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.701e-05/0.3083, allocations: 51.98 kB / 464.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.3093, allocations: 0.5158 MB / 464.6 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3094, allocations: 0 / 464.6 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.3094, allocations: 20 kB / 464.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3094, allocations: 11.98 kB / 464.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.3104, allocations: 480.1 kB / 465.1 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.3138, allocations: 2.047 MB / 467.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3148, allocations: 0.5188 MB / 467.7 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/0.3156, allocations: 465.3 kB / 468.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005219/0.3208, allocations: 2.338 MB / 470.5 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006905/0.3215, allocations: 305.6 kB / 470.8 MB, free: 0 / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 1.783e-06/0.3215, allocations: 0 / 470.8 MB, free: 0 / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005611/0.3271, allocations: 2.282 MB / 473.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.3272, allocations: 55.84 kB / 473.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.3292, allocations: 1.291 MB / 474.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.3293, allocations: 33.7 kB / 474.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007903/0.3301, allocations: 0.7118 MB / 475.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.3303, allocations: 226 kB / 475.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.3305, allocations: 134.3 kB / 475.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3307, allocations: 330 kB / 475.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.3312, allocations: 213.6 kB / 476.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/0.3318, allocations: 356.5 kB / 476.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.333, allocations: 0.6203 MB / 477 MB, free: 9.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.333, allocations: 0 / 477 MB, free: 9.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001883/0.3349, allocations: 0.9677 MB / 478 MB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3349, allocations: 8 kB / 478 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.335, allocations: 63.98 kB / 478.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.3355, allocations: 184.8 kB / 478.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.336, allocations: 107.8 kB / 478.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.3396, allocations: 2.678 MB / 481 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.3402, allocations: 24.03 kB / 481.1 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/0.3402, allocations: 32 kB / 481.1 MB, free: 5.418 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.0004601/0.3407, allocations: 269.7 kB / 481.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.3409, allocations: 190.8 kB / 481.5 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.343, allocations: 0.9619 MB / 482.5 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.343, allocations: 8 kB / 482.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.343, allocations: 0 / 482.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.343, allocations: 7.984 kB / 482.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.3442, allocations: 0.866 MB / 483.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-05/0.3443, allocations: 63.94 kB / 483.4 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.3446, allocations: 67.88 kB / 483.5 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.3451, allocations: 168.7 kB / 483.7 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.3452, allocations: 31.92 kB / 483.7 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.3487, allocations: 2.649 MB / 486.3 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3487, allocations: 0 / 486.3 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.351, allocations: 1.188 MB / 487.5 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.3514, allocations: 186.8 kB / 487.7 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.3515, allocations: 15.94 kB / 487.7 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.3519, allocations: 15.98 kB / 487.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.3521, allocations: 52.34 kB / 487.8 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.3521, allocations: 24 kB / 487.8 MB, free: 14.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001142/0.3533, allocations: 0.8574 MB / 488.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3533, allocations: 4 kB / 488.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009609/0.3542, allocations: 387.2 kB / 489.1 MB, free: 13.24 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.0007885/0.355, allocations: 467.5 kB / 489.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.3569, allocations: 0.8786 MB / 490.4 MB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3569, allocations: 0 / 490.4 MB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.358, allocations: 0.608 MB / 491 MB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.3589, allocations: 210.2 kB / 491.2 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.3629, allocations: 2.458 MB / 493.7 MB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/0.3638, allocations: 1.174 MB / 494.8 MB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004946/0.3643, allocations: 179.2 kB / 495 MB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3644, allocations: 87.44 kB / 495.1 MB, free: 7.055 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3644, allocations: 7.938 kB / 495.1 MB, free: 7.047 MB / 398.1 MB Notification: Performance of Templates: time 0.02974/0.3942, allocations: 14.77 MB / 0.4979 GB, free: 8.332 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.012396262958646]