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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.53 kB / 308.4 MB, free: 15.83 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08791, allocations: 50.53 MB / 358.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007322/0.09527, allocations: 7.515 MB / 366.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1641/0.2594, allocations: 10.73 MB / 377.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008674/0.2603, allocations: 78.09 kB / 377.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.2619, allocations: 0.712 MB / 377.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.2651, allocations: 1.188 MB / 379.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.2683, allocations: 0.6724 MB / 379.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00398/0.2723, allocations: 2.564 MB / 382.3 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.2728, allocations: 284 kB / 382.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.2733, allocations: 0.4927 MB / 383.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.2738, allocations: 0.5348 MB / 383.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.2739, allocations: 55.28 kB / 383.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.2757, allocations: 0.7701 MB / 384.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.2758, allocations: 186.8 kB / 384.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.2763, allocations: 0.6777 MB / 385.3 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.2784, allocations: 1.939 MB / 387.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2784, allocations: 1.125 kB / 387.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2784, allocations: 0 / 387.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.2785, allocations: 0 / 387.3 MB, free: 6.473 MB / 302.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.002667/0.2811, allocations: 1.994 MB / 389.3 MB, free: 5.129 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2812, allocations: 9.656 kB / 389.3 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.2814, allocations: 198.4 kB / 389.5 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.2832, allocations: 1.334 MB / 390.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2833, allocations: 36.48 kB / 390.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.2834, allocations: 50.09 kB / 390.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/0.2842, allocations: 0.5065 MB / 391.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2843, allocations: 4 kB / 391.4 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.2843, allocations: 20.28 kB / 391.4 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2843, allocations: 13.03 kB / 391.4 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.2852, allocations: 481 kB / 391.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.2882, allocations: 2.092 MB / 394 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008778/0.2891, allocations: 0.7043 MB / 394.7 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000644/0.2897, allocations: 0.5136 MB / 395.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005863/0.2956, allocations: 4.9 MB / 400.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005945/0.2962, allocations: 320.8 kB / 400.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/0.2962, allocations: 0 / 400.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004962/0.3012, allocations: 2.404 MB / 402.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3013, allocations: 60.92 kB / 402.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.3027, allocations: 1.281 MB / 404.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.3028, allocations: 37.42 kB / 404.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/0.3033, allocations: 0.7001 MB / 404.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.3035, allocations: 220.6 kB / 405.1 MB, free: 9.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.3037, allocations: 118.2 kB / 405.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3038, allocations: 335.8 kB / 405.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.3043, allocations: 219.9 kB / 405.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.3048, allocations: 364 kB / 406.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009986/0.3058, allocations: 0.6041 MB / 406.7 MB, free: 8.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3059, allocations: 8 kB / 406.7 MB, free: 8.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001708/0.3076, allocations: 0.9694 MB / 407.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3076, allocations: 11.98 kB / 407.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.692e-05/0.3077, allocations: 64 kB / 407.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/0.3082, allocations: 188.2 kB / 408 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.3086, allocations: 103.8 kB / 408.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.3118, allocations: 2.754 MB / 410.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.3125, allocations: 31.97 kB / 410.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.3126, allocations: 39.94 kB / 410.9 MB, free: 4.211 MB / 318.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.0004646/0.3131, allocations: 273.6 kB / 411.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.3133, allocations: 181.9 kB / 411.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.3152, allocations: 0.9679 MB / 412.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.3152, allocations: 12 kB / 412.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.3152, allocations: 7.984 kB / 412.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3152, allocations: 5.672 kB / 412.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3163, allocations: 0.9067 MB / 413.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.807e-05/0.3164, allocations: 60 kB / 413.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.3168, allocations: 63.89 kB / 413.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/0.3172, allocations: 172.6 kB / 413.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.3173, allocations: 23.98 kB / 413.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.3203, allocations: 2.753 MB / 416.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3203, allocations: 4 kB / 416.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.3224, allocations: 1.176 MB / 417.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.3229, allocations: 255 kB / 417.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.323, allocations: 12 kB / 417.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.3234, allocations: 23.91 kB / 417.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.3235, allocations: 52.38 kB / 417.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.3236, allocations: 21.19 kB / 417.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001079/0.3247, allocations: 0.8612 MB / 418.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3247, allocations: 0 / 418.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009979/0.3257, allocations: 387.8 kB / 419.1 MB, free: 11.8 MB / 334.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.0007102/0.3264, allocations: 456.7 kB / 419.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.3281, allocations: 0.9134 MB / 420.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3281, allocations: 0 / 420.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3291, allocations: 0.6576 MB / 421.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009264/0.33, allocations: 216 kB / 421.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.3338, allocations: 2.405 MB / 423.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.3346, allocations: 1.178 MB / 424.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004681/0.335, allocations: 183.2 kB / 425.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3352, allocations: 83.44 kB / 425.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3352, allocations: 0 / 425.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of Templates: time 0.02814/0.3634, allocations: 14.14 MB / 439.3 MB, free: 7.605 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches