Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001319/0.001319, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001402/0.001402, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 43.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2407, allocations: 53.36 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008667/0.2494, allocations: 7.561 MB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.2629, allocations: 10.79 MB / 450 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008762/0.2637, allocations: 126.6 kB / 450.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.2653, allocations: 0.7059 MB / 450.8 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.2681, allocations: 1.206 MB / 452 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.2697, allocations: 0.6839 MB / 452.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003684/0.2734, allocations: 2.578 MB / 455.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.2737, allocations: 180.3 kB / 455.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.2743, allocations: 0.5132 MB / 456 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.275, allocations: 0.5356 MB / 456.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/0.2751, allocations: 60 kB / 456.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.2766, allocations: 0.7727 MB / 457.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.2768, allocations: 186.8 kB / 457.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006241/0.2774, allocations: 0.6715 MB / 458.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.2797, allocations: 1.96 MB / 460.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2797, allocations: 0 / 460.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2797, allocations: 0 / 460.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.2797, allocations: 0 / 460.1 MB, free: 10.25 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.002904/0.2826, allocations: 1.963 MB / 462.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2826, allocations: 16.03 kB / 462.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.2829, allocations: 207.7 kB / 462.3 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.2849, allocations: 1.244 MB / 463.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.2849, allocations: 36.94 kB / 463.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-05/0.285, allocations: 44 kB / 463.6 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/0.2859, allocations: 0.5119 MB / 464.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.286, allocations: 0 / 464.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.286, allocations: 23.94 kB / 464.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.286, allocations: 19.98 kB / 464.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009557/0.287, allocations: 472.1 kB / 464.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.2902, allocations: 2.047 MB / 466.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.2911, allocations: 0.5068 MB / 467.2 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/0.2919, allocations: 477.3 kB / 467.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005009/0.2969, allocations: 2.327 MB / 470 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006172/0.2975, allocations: 317.6 kB / 470.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.134e-06/0.2975, allocations: 0 / 470.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004965/0.3025, allocations: 2.278 MB / 472.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3025, allocations: 63.78 kB / 472.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.3041, allocations: 1.288 MB / 473.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.3041, allocations: 37.7 kB / 474 MB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.3047, allocations: 0.7041 MB / 474.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.3049, allocations: 230 kB / 474.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.3051, allocations: 122.3 kB / 475 MB, free: 11.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3053, allocations: 333.9 kB / 475.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/0.3057, allocations: 217.6 kB / 475.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.3063, allocations: 360.5 kB / 475.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3073, allocations: 0.6125 MB / 476.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3073, allocations: 7.938 kB / 476.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001731/0.309, allocations: 0.968 MB / 477.5 MB, free: 8.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3091, allocations: 8 kB / 477.5 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.3092, allocations: 68 kB / 477.6 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.3097, allocations: 184.9 kB / 477.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.3101, allocations: 107.8 kB / 477.9 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.3138, allocations: 2.657 MB / 480.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.3142, allocations: 23.98 kB / 480.5 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.3143, allocations: 36 kB / 480.6 MB, free: 5.27 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.0004558/0.3148, allocations: 273.7 kB / 480.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.315, allocations: 190.8 kB / 481 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.3171, allocations: 0.9658 MB / 482 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3171, allocations: 4 kB / 482 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3171, allocations: 8 kB / 482 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3171, allocations: 3.984 kB / 482 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3183, allocations: 0.8699 MB / 482.9 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-05/0.3184, allocations: 60 kB / 482.9 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.3187, allocations: 67.89 kB / 483 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/0.3192, allocations: 175.9 kB / 483.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.3192, allocations: 23.92 kB / 483.2 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.3226, allocations: 2.651 MB / 485.9 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3226, allocations: 8 kB / 485.9 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.3248, allocations: 1.184 MB / 487 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.3252, allocations: 178.8 kB / 487.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.3253, allocations: 23.92 kB / 487.2 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.3257, allocations: 15.98 kB / 487.3 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.3258, allocations: 56.34 kB / 487.3 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.3259, allocations: 20 kB / 487.3 MB, free: 14.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.327, allocations: 0.8535 MB / 488.2 MB, free: 13.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.327, allocations: 0 / 488.2 MB, free: 13.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009666/0.3279, allocations: 391.2 kB / 488.6 MB, free: 13.09 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.000797/0.3287, allocations: 471.5 kB / 489 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.3305, allocations: 0.878 MB / 489.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3305, allocations: 0.625 kB / 489.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.3316, allocations: 0.6042 MB / 490.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.3324, allocations: 214.1 kB / 490.7 MB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.3364, allocations: 2.454 MB / 493.2 MB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000818/0.3372, allocations: 1.174 MB / 494.3 MB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004726/0.3376, allocations: 187.2 kB / 494.5 MB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.3378, allocations: 87.44 kB / 494.6 MB, free: 6.898 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3378, allocations: 0 / 494.6 MB, free: 6.898 MB / 398.1 MB Notification: Performance of Templates: time 0.02992/0.3677, allocations: 14.77 MB / 0.4975 GB, free: 8.188 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.062577129108831]