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.001424/0.001424, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.001459/0.001459, allocations: 159.2 kB / 23.95 MB, free: 4.152 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.422/1.422, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.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 2.004e-06/2.004e-06, allocations: 0.6094 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.039e-05, allocations: 6.219 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007787/0.007807, allocations: 6.492 MB / 331.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.02081, allocations: 9.332 MB / 340.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.02183, allocations: 124.4 kB / 341 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.02362, allocations: 0.6437 MB / 341.6 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.02753, allocations: 1.255 MB / 342.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.02935, allocations: 0.6757 MB / 343.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004415/0.03376, allocations: 2.648 MB / 346.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.03415, allocations: 172.3 kB / 346.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009633/0.03511, allocations: 0.7207 MB / 347.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006046/0.03572, allocations: 382.6 kB / 347.4 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.03583, allocations: 59.94 kB / 347.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.0374, allocations: 0.6869 MB / 348.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.03759, allocations: 190.7 kB / 348.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004865/0.03808, allocations: 378.8 kB / 348.7 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.04057, allocations: 1.993 MB / 350.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.04058, allocations: 0 / 350.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.04058, allocations: 0 / 350.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.04059, allocations: 0 / 350.7 MB, free: 11.24 MB / 318.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.003064/0.04366, allocations: 1.951 MB / 352.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.0437, allocations: 15.98 kB / 352.7 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.04396, allocations: 207.7 kB / 352.9 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.04603, allocations: 1.239 MB / 354.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.04608, allocations: 37.38 kB / 354.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.04617, allocations: 40.38 kB / 354.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.04724, allocations: 0.5235 MB / 354.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.04726, allocations: 0 / 354.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.04731, allocations: 16 kB / 354.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.04733, allocations: 16 kB / 354.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.04837, allocations: 476.1 kB / 355.2 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.05161, allocations: 1.872 MB / 357.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.05264, allocations: 0.5031 MB / 357.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007864/0.05343, allocations: 465.4 kB / 358.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005389/0.05882, allocations: 2.261 MB / 360.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006773/0.05949, allocations: 314 kB / 360.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 3.016e-06/0.0595, allocations: 0 / 360.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.005622/0.06512, allocations: 2.286 MB / 362.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.06518, allocations: 55.91 kB / 363 MB, free: 14.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.06683, allocations: 1.291 MB / 364.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.06688, allocations: 37.7 kB / 364.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006984/0.06758, allocations: 0.7079 MB / 365 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.06779, allocations: 222 kB / 365.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.068, allocations: 126.3 kB / 365.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.06818, allocations: 330 kB / 365.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.06868, allocations: 217.6 kB / 365.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.06931, allocations: 364.4 kB / 366.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.07052, allocations: 0.6165 MB / 366.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.07053, allocations: 0 / 366.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001863/0.07239, allocations: 0.968 MB / 367.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.07241, allocations: 4 kB / 367.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.07252, allocations: 67.98 kB / 367.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.07306, allocations: 188.1 kB / 368.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.0736, allocations: 103.9 kB / 368.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.07727, allocations: 2.605 MB / 370.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.07776, allocations: 24.03 kB / 370.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.07783, allocations: 28 kB / 370.8 MB, free: 6.625 MB / 334.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.000451/0.07828, allocations: 277.5 kB / 371.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.0785, allocations: 198.8 kB / 371.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.08062, allocations: 0.9662 MB / 372.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.08063, allocations: 8 kB / 372.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.08063, allocations: 4 kB / 372.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.08064, allocations: 3.984 kB / 372.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009979/0.08164, allocations: 0.7371 MB / 373 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.934e-05/0.08173, allocations: 63.98 kB / 373.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.08208, allocations: 63.89 kB / 373.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/0.08258, allocations: 176.6 kB / 373.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.08263, allocations: 23.98 kB / 373.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003397/0.08602, allocations: 2.583 MB / 375.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.08603, allocations: 7.938 kB / 375.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.0883, allocations: 1.173 MB / 377.1 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.08864, allocations: 186.9 kB / 377.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.08878, allocations: 12 kB / 377.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.08919, allocations: 19.97 kB / 377.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.08933, allocations: 60.36 kB / 377.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/0.08938, allocations: 23.98 kB / 377.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.09051, allocations: 0.8535 MB / 378.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09051, allocations: 4 kB / 378.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009625/0.09148, allocations: 387.2 kB / 378.6 MB, free: 14.64 MB / 350.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.0008343/0.09231, allocations: 495.4 kB / 379.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.09412, allocations: 0.8675 MB / 380 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.09412, allocations: 0 / 380 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.09535, allocations: 0.6204 MB / 380.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.09624, allocations: 214.1 kB / 380.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.09991, allocations: 2.346 MB / 383.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.1005, allocations: 0.5954 MB / 383.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005376/0.1011, allocations: 179.2 kB / 383.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.1012, allocations: 84.5 kB / 384 MB, free: 9.125 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1012, allocations: 0 / 384 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Templates: time 0.02983/0.131, allocations: 14.44 MB / 398.5 MB, free: 10.79 MB / 366.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.853011589497328]