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.001714/0.001714, allocations: 84.78 kB / 22 MB, free: 5.18 MB / 14.72 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.001996/0.001996, allocations: 161.8 kB / 25.25 MB, free: 3.027 MB / 14.72 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 1.374/1.374, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.09 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1977, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007739/0.2055, allocations: 6.33 MB / 354.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.2173, allocations: 9.018 MB / 363.9 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.2186, allocations: 118.7 kB / 364 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.2203, allocations: 0.6216 MB / 364.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.2239, allocations: 1.186 MB / 365.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.2257, allocations: 0.6682 MB / 366.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003877/0.2295, allocations: 2.512 MB / 369 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.2299, allocations: 168.4 kB / 369.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.2305, allocations: 497.7 kB / 369.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006365/0.2311, allocations: 0.5005 MB / 370.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.2312, allocations: 56 kB / 370.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.2326, allocations: 0.6596 MB / 370.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.2328, allocations: 182.8 kB / 371 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.2333, allocations: 0.5007 MB / 371.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.2355, allocations: 1.983 MB / 373.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2355, allocations: 0 / 373.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2355, allocations: 0 / 373.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.2356, allocations: 0 / 373.5 MB, free: 6.41 MB / 334.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.002749/0.2383, allocations: 1.967 MB / 375.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2383, allocations: 11.98 kB / 375.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.2386, allocations: 207.7 kB / 375.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.2405, allocations: 1.243 MB / 376.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.2405, allocations: 29 kB / 376.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/0.2406, allocations: 51.95 kB / 377 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/0.2416, allocations: 0.508 MB / 377.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2416, allocations: 0 / 377.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.2416, allocations: 20 kB / 377.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.2417, allocations: 11.98 kB / 377.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.2426, allocations: 488 kB / 378 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.2456, allocations: 1.868 MB / 379.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/0.2465, allocations: 0.4953 MB / 380.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007573/0.2473, allocations: 469.5 kB / 380.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006095/0.2534, allocations: 2.518 MB / 383.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005844/0.254, allocations: 286.2 kB / 383.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 2.164e-06/0.254, allocations: 4 kB / 383.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.003754/0.2577, allocations: 1.904 MB / 385.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.2578, allocations: 63.84 kB / 385.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.2593, allocations: 1.304 MB / 386.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.2594, allocations: 33.7 kB / 386.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006668/0.26, allocations: 0.7234 MB / 387.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.2602, allocations: 210.2 kB / 387.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.2604, allocations: 126.3 kB / 388 MB, free: 7.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2606, allocations: 326 kB / 388.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.261, allocations: 197.6 kB / 388.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.2616, allocations: 363.9 kB / 388.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.2642, allocations: 1.136 MB / 390 MB, free: 5.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2642, allocations: 4 kB / 390 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001641/0.2658, allocations: 0.925 MB / 390.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2658, allocations: 8 kB / 390.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.676e-05/0.2659, allocations: 60 kB / 391 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/0.2663, allocations: 157.2 kB / 391.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.2668, allocations: 111.8 kB / 391.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.2698, allocations: 2.368 MB / 393.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.2702, allocations: 28.03 kB / 393.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.2703, allocations: 36 kB / 393.7 MB, free: 1.668 MB / 350.1 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.0004374/0.2707, allocations: 273.7 kB / 394 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.2709, allocations: 190.8 kB / 394.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.2727, allocations: 0.878 MB / 395 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.2727, allocations: 4 kB / 395 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2727, allocations: 4 kB / 395 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.2727, allocations: 7.984 kB / 395 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009364/0.2737, allocations: 0.7139 MB / 395.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.454e-05/0.2738, allocations: 59.98 kB / 395.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.2741, allocations: 59.89 kB / 395.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003663/0.2744, allocations: 152.9 kB / 396 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.2745, allocations: 19.98 kB / 396 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.2774, allocations: 2.344 MB / 398.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2774, allocations: 4 kB / 398.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.2793, allocations: 1.065 MB / 399.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.2797, allocations: 174.8 kB / 399.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.2798, allocations: 12 kB / 399.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.2801, allocations: 20.16 kB / 399.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.2802, allocations: 48.42 kB / 399.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.2803, allocations: 31.92 kB / 399.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001108/0.2814, allocations: 0.8539 MB / 400.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2814, allocations: 4 kB / 400.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009406/0.2823, allocations: 379.2 kB / 401 MB, free: 10.23 MB / 366.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 (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.0007165/0.2831, allocations: 455.5 kB / 401.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.2847, allocations: 0.8126 MB / 402.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2847, allocations: 4.938 kB / 402.2 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.2857, allocations: 0.5438 MB / 402.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.2864, allocations: 186.2 kB / 402.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.29, allocations: 2.431 MB / 405.4 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.2906, allocations: 0.5837 MB / 406 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004677/0.2911, allocations: 183.2 kB / 406.1 MB, free: 4.898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.2912, allocations: 84.5 kB / 406.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2912, allocations: 0 / 406.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of Templates: time 0.02783/0.319, allocations: 13.68 MB / 419.9 MB, free: 7.105 MB / 382.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.740260513033718]