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.001297/0.001297, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.55 kB / 307 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09337, allocations: 50.54 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008274/0.1017, allocations: 7.524 MB / 365 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1599/0.2616, allocations: 10.73 MB / 375.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.2628, allocations: 39.03 kB / 375.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.2648, allocations: 0.7109 MB / 376.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0039/0.2687, allocations: 1.188 MB / 377.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.2707, allocations: 0.6747 MB / 378.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00345/0.2742, allocations: 2.549 MB / 380.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.2746, allocations: 289 kB / 381.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005756/0.2752, allocations: 487.5 kB / 381.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.2757, allocations: 0.5285 MB / 382.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-05/0.2758, allocations: 57.22 kB / 382.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.2775, allocations: 0.7769 MB / 383.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.2777, allocations: 187.2 kB / 383.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.2782, allocations: 0.6773 MB / 383.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.2802, allocations: 1.922 MB / 385.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2802, allocations: 1.219 kB / 385.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2802, allocations: 0 / 385.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.2803, allocations: 3.938 kB / 385.8 MB, free: 6.062 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.002499/0.2828, allocations: 1.985 MB / 387.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2828, allocations: 10.59 kB / 387.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.283, allocations: 198.4 kB / 388 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.2845, allocations: 1.339 MB / 389.4 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2846, allocations: 40.28 kB / 389.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.2847, allocations: 48.88 kB / 389.5 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008252/0.2855, allocations: 0.5069 MB / 390 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2855, allocations: 0 / 390 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.2856, allocations: 19.34 kB / 390 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2856, allocations: 14.14 kB / 390 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008756/0.2865, allocations: 484.8 kB / 390.5 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.2891, allocations: 2.095 MB / 392.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.2899, allocations: 0.7152 MB / 393.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/0.2906, allocations: 0.5094 MB / 393.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005779/0.2964, allocations: 4.899 MB / 398.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005999/0.297, allocations: 319.9 kB / 399 MB, free: 12.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 2.434e-06/0.297, allocations: 0 / 399 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.005018/0.302, allocations: 2.408 MB / 401.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.3021, allocations: 56.62 kB / 401.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.3036, allocations: 1.286 MB / 402.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.3036, allocations: 36.64 kB / 402.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006499/0.3043, allocations: 0.7016 MB / 403.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.3045, allocations: 214.5 kB / 403.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.3047, allocations: 123.9 kB / 403.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3048, allocations: 336.1 kB / 404.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.3053, allocations: 218.1 kB / 404.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.3059, allocations: 364 kB / 404.7 MB, free: 8.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.307, allocations: 0.6103 MB / 405.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.307, allocations: 0 / 405.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001773/0.3087, allocations: 0.9656 MB / 406.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3088, allocations: 4 kB / 406.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.3089, allocations: 67.98 kB / 406.4 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.3094, allocations: 184.5 kB / 406.5 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.3099, allocations: 111.8 kB / 406.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/0.3133, allocations: 2.762 MB / 409.4 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.3139, allocations: 32.02 kB / 409.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.314, allocations: 28 kB / 409.5 MB, free: 4.09 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.0004386/0.3144, allocations: 277.7 kB / 409.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.3146, allocations: 181.8 kB / 409.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.3167, allocations: 0.9736 MB / 410.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.3168, allocations: 12.08 kB / 410.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3168, allocations: 4 kB / 410.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3168, allocations: 3.984 kB / 410.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.318, allocations: 0.9122 MB / 411.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.182e-05/0.3181, allocations: 60 kB / 411.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.3184, allocations: 59.95 kB / 411.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.3189, allocations: 176.6 kB / 412.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.3189, allocations: 23.98 kB / 412.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.3223, allocations: 2.749 MB / 414.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3223, allocations: 0 / 414.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.3245, allocations: 1.184 MB / 416.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.3249, allocations: 251 kB / 416.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.325, allocations: 12 kB / 416.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.3254, allocations: 25.03 kB / 416.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3255, allocations: 52.38 kB / 416.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.3256, allocations: 24 kB / 416.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.3268, allocations: 0.8535 MB / 417.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3268, allocations: 0 / 417.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001118/0.3279, allocations: 387.8 kB / 417.7 MB, free: 11.68 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.00075/0.3287, allocations: 464.2 kB / 418.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.3306, allocations: 0.9368 MB / 419 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3306, allocations: 0 / 419 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.3318, allocations: 0.6383 MB / 419.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009716/0.3328, allocations: 212.2 kB / 419.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.3367, allocations: 2.451 MB / 422.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/0.3376, allocations: 1.17 MB / 423.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006206/0.3382, allocations: 187.2 kB / 423.7 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3384, allocations: 83.44 kB / 423.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3384, allocations: 3.938 kB / 423.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of Templates: time 0.02878/0.3672, allocations: 14.12 MB / 437.9 MB, free: 7.453 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 -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/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) Reference file matches