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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 183.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 47.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08901, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.2092/0.2982, allocations: 7.342 MB / 382.5 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01573/0.314, allocations: 10.39 MB / 392.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.3158, allocations: 77.78 kB / 392.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.3181, allocations: 0.6858 MB / 393.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.3224, allocations: 1.172 MB / 394.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.3247, allocations: 0.6669 MB / 395.5 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.3298, allocations: 2.489 MB / 398 MB, free: 44 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.3305, allocations: 282.6 kB / 398.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.3316, allocations: 473.5 kB / 398.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008845/0.3325, allocations: 0.5251 MB / 399.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3326, allocations: 55 kB / 399.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.3351, allocations: 0.7017 MB / 400 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.3353, allocations: 183.9 kB / 400.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000658/0.336, allocations: 0.6711 MB / 400.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.3389, allocations: 1.951 MB / 402.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3389, allocations: 4.609 kB / 402.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3389, allocations: 1.375 kB / 402.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.658e-05/0.339, allocations: 0 / 402.8 MB, free: 13.84 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.004676/0.3437, allocations: 2.044 MB / 404.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.3437, allocations: 10.28 kB / 404.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/0.3442, allocations: 207.8 kB / 405 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.3472, allocations: 1.353 MB / 406.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.3473, allocations: 35.75 kB / 406.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.3474, allocations: 44.62 kB / 406.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.3488, allocations: 0.5176 MB / 407 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3489, allocations: 0 / 407 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.349, allocations: 15.59 kB / 407 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.349, allocations: 15.94 kB / 407 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.3505, allocations: 474.5 kB / 407.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.3556, allocations: 2.098 MB / 409.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.3572, allocations: 0.7057 MB / 410.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.3583, allocations: 0.5167 MB / 410.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.3695, allocations: 6.498 MB / 417.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.3702, allocations: 301.6 kB / 417.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=55): time 3.045e-06/0.3703, allocations: 0 / 417.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=59): time 0.004848/0.3751, allocations: 1.998 MB / 419.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.3752, allocations: 61.33 kB / 419.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.3783, allocations: 1.295 MB / 421 MB, free: 204 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.3783, allocations: 36.02 kB / 421 MB, free: 164 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008842/0.3792, allocations: 0.7168 MB / 421.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.3795, allocations: 210.3 kB / 421.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.3798, allocations: 122.5 kB / 422 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3799, allocations: 335.4 kB / 422.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/0.3806, allocations: 196.8 kB / 422.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007653/0.3814, allocations: 355.8 kB / 422.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.3847, allocations: 1.139 MB / 424 MB, free: 13.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3847, allocations: 0 / 424 MB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002569/0.3873, allocations: 0.9271 MB / 425 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.3873, allocations: 8 kB / 425 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.3875, allocations: 59.98 kB / 425 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.3881, allocations: 163.1 kB / 425.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.3887, allocations: 115.8 kB / 425.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.3929, allocations: 2.514 MB / 427.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.3943, allocations: 24.03 kB / 427.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/0.3944, allocations: 32 kB / 427.9 MB, free: 9.152 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.0008049/0.3952, allocations: 278.8 kB / 428.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.3955, allocations: 190.8 kB / 428.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.3982, allocations: 0.8898 MB / 429.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.3982, allocations: 7.984 kB / 429.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3983, allocations: 6.312 kB / 429.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3983, allocations: 3.938 kB / 429.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.3999, allocations: 0.8747 MB / 430.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001142/0.4, allocations: 56 kB / 430.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.4004, allocations: 63.89 kB / 430.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.401, allocations: 149.8 kB / 430.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.88e-05/0.4011, allocations: 20 kB / 430.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.4045, allocations: 2.499 MB / 432.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4045, allocations: 0 / 432.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.4065, allocations: 1.069 MB / 434 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.4069, allocations: 255.9 kB / 434.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.4071, allocations: 19.98 kB / 434.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.4075, allocations: 23.98 kB / 434.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.4076, allocations: 48.31 kB / 434.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.4077, allocations: 20 kB / 434.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001124/0.4088, allocations: 0.8617 MB / 435.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4088, allocations: 0 / 435.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001145/0.4099, allocations: 379.2 kB / 435.6 MB, free: 1.227 MB / 350.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.0008186/0.4108, allocations: 464.6 kB / 436 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.4125, allocations: 0.8438 MB / 436.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4125, allocations: 0 / 436.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009774/0.4135, allocations: 0.5869 MB / 437.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.4143, allocations: 185.6 kB / 437.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.4179, allocations: 2.437 MB / 440.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.4186, allocations: 1.17 MB / 441.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004831/0.4191, allocations: 183.2 kB / 441.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.4192, allocations: 83.44 kB / 441.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4193, allocations: 4 kB / 441.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Templates: time 0.02647/0.4457, allocations: 13.47 MB / 455 MB, free: 13.68 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches