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.001388/0.001388, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001451/0.001451, allocations: 203.9 kB / 23.72 MB, free: 4.391 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.001923/0.001923, allocations: 63.91 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2442, allocations: 53.4 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007956/0.2522, allocations: 6.481 MB / 438.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.2655, allocations: 9.324 MB / 447.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/0.2664, allocations: 122.6 kB / 447.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.268, allocations: 0.6408 MB / 448.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.2711, allocations: 1.206 MB / 449.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.2726, allocations: 0.6759 MB / 450.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.2759, allocations: 2.578 MB / 452.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.2762, allocations: 168.4 kB / 452.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005963/0.2768, allocations: 0.5132 MB / 453.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.2774, allocations: 0.5044 MB / 453.8 MB, free: 188 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.2775, allocations: 56 kB / 453.9 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.2789, allocations: 0.6908 MB / 454.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.279, allocations: 182.8 kB / 454.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.2795, allocations: 0.5046 MB / 455.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.2817, allocations: 1.98 MB / 457.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2817, allocations: 3.938 kB / 457.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2817, allocations: 0 / 457.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.2817, allocations: 0 / 457.2 MB, free: 12.76 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.002915/0.2846, allocations: 1.967 MB / 459.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.2847, allocations: 15.98 kB / 459.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.285, allocations: 211.7 kB / 459.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.287, allocations: 1.228 MB / 460.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.2871, allocations: 40.94 kB / 460.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.2872, allocations: 47.94 kB / 460.7 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/0.2881, allocations: 0.5197 MB / 461.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2881, allocations: 0 / 461.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.2882, allocations: 16 kB / 461.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.2882, allocations: 19.98 kB / 461.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.2892, allocations: 472.1 kB / 461.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.2922, allocations: 1.864 MB / 463.6 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/0.2932, allocations: 0.5146 MB / 464.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.2939, allocations: 474.1 kB / 464.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00489/0.2988, allocations: 2.268 MB / 466.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005993/0.2994, allocations: 317.5 kB / 467.2 MB, free: 2.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.375e-06/0.2994, allocations: 0 / 467.2 MB, free: 2.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004846/0.3042, allocations: 2.27 MB / 469.5 MB, free: 304 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3043, allocations: 63.83 kB / 469.5 MB, free: 228 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.3058, allocations: 1.287 MB / 470.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.3059, allocations: 37.7 kB / 470.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/0.3065, allocations: 0.7041 MB / 471.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.3067, allocations: 226 kB / 471.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.3069, allocations: 130.3 kB / 471.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.307, allocations: 334 kB / 472.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.3075, allocations: 221.5 kB / 472.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.308, allocations: 356.5 kB / 472.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.3091, allocations: 0.6164 MB / 473.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3091, allocations: 7.938 kB / 473.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001681/0.3108, allocations: 0.9639 MB / 474.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3108, allocations: 8 kB / 474.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/0.3109, allocations: 63.98 kB / 474.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/0.3114, allocations: 189.1 kB / 474.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.3118, allocations: 103.9 kB / 474.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.3152, allocations: 2.602 MB / 477.3 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.3156, allocations: 31.97 kB / 477.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.3157, allocations: 32 kB / 477.4 MB, free: 8.105 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.0003978/0.3161, allocations: 273.6 kB / 477.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.3163, allocations: 190.9 kB / 477.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.3182, allocations: 0.9696 MB / 478.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3182, allocations: 8 kB / 478.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3182, allocations: 4 kB / 478.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3182, allocations: 0 / 478.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.3193, allocations: 0.7296 MB / 479.6 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001375/0.3194, allocations: 60 kB / 479.6 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.3197, allocations: 67.83 kB / 479.7 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/0.3202, allocations: 172.7 kB / 479.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.3202, allocations: 19.98 kB / 479.9 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.3237, allocations: 2.606 MB / 482.5 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3237, allocations: 0 / 482.5 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.3258, allocations: 1.181 MB / 483.7 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.3262, allocations: 182.8 kB / 483.8 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.3263, allocations: 15.98 kB / 483.9 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.3267, allocations: 19.98 kB / 483.9 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3268, allocations: 52.25 kB / 483.9 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.3269, allocations: 24 kB / 483.9 MB, free: 1.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001143/0.328, allocations: 0.8651 MB / 484.8 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.328, allocations: 4 kB / 484.8 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009064/0.3289, allocations: 387.2 kB / 485.2 MB, free: 136 kB / 382.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.0007541/0.3297, allocations: 463.6 kB / 485.6 MB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.3314, allocations: 0.8709 MB / 486.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3314, allocations: 4.062 kB / 486.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.3325, allocations: 0.6079 MB / 487.1 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008424/0.3333, allocations: 213.4 kB / 487.3 MB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.3368, allocations: 2.461 MB / 489.8 MB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.3374, allocations: 0.5916 MB / 490.4 MB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004645/0.3379, allocations: 187.2 kB / 490.6 MB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.338, allocations: 79.44 kB / 490.6 MB, free: 10.53 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.338, allocations: 0 / 490.6 MB, free: 10.53 MB / 398.1 MB Notification: Performance of Templates: time 0.02931/0.3673, allocations: 16.41 MB / 0.4952 GB, free: 10.22 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.954315334558487]