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.001342/0.001342, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.00139, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 58.62 kB / 307.1 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1034, allocations: 50.54 MB / 357.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008452/0.1119, allocations: 7.496 MB / 365.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1764/0.2883, allocations: 10.64 MB / 375.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.2895, allocations: 39.78 kB / 375.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.2918, allocations: 0.6321 MB / 376.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004531/0.2963, allocations: 0.9977 MB / 377.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.2988, allocations: 0.589 MB / 378.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004523/0.3033, allocations: 2.563 MB / 380.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.3039, allocations: 291.7 kB / 380.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007825/0.3046, allocations: 489 kB / 381.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.3052, allocations: 0.534 MB / 381.9 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-05/0.3053, allocations: 54.12 kB / 382 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.3075, allocations: 0.7797 MB / 382.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3076, allocations: 182.3 kB / 382.9 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005864/0.3082, allocations: 0.6783 MB / 383.6 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.31, allocations: 1.452 MB / 385.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.31, allocations: 0 / 385.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.31, allocations: 1.062 kB / 385.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.3101, allocations: 0 / 385.1 MB, free: 6.461 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.003127/0.3132, allocations: 1.985 MB / 387 MB, free: 5.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3133, allocations: 9.547 kB / 387.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.3135, allocations: 198.9 kB / 387.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.3154, allocations: 1.339 MB / 388.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.3155, allocations: 35 kB / 388.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.3156, allocations: 49.72 kB / 388.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009344/0.3165, allocations: 0.5134 MB / 389.2 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3165, allocations: 5.25 kB / 389.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.3166, allocations: 15.38 kB / 389.2 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.3166, allocations: 19.48 kB / 389.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/0.3175, allocations: 472.2 kB / 389.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.3205, allocations: 2.102 MB / 391.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008325/0.3214, allocations: 0.6917 MB / 392.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000644/0.322, allocations: 0.5226 MB / 393 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006451/0.3285, allocations: 4.911 MB / 397.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006422/0.3292, allocations: 311.8 kB / 398.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 2.816e-06/0.3292, allocations: 0 / 398.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.00557/0.3348, allocations: 2.402 MB / 400.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.3349, allocations: 65.05 kB / 400.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.3365, allocations: 1.281 MB / 402 MB, free: 11.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.3366, allocations: 35.83 kB / 402 MB, free: 11.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000649/0.3372, allocations: 0.6959 MB / 402.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.3375, allocations: 225.3 kB / 402.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.3377, allocations: 119.7 kB / 403 MB, free: 10.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3378, allocations: 334.6 kB / 403.4 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.3383, allocations: 215.7 kB / 403.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.3388, allocations: 363.7 kB / 403.9 MB, free: 9.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.3399, allocations: 0.6114 MB / 404.5 MB, free: 9.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3399, allocations: 2.562 kB / 404.5 MB, free: 9.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001884/0.3418, allocations: 0.9681 MB / 405.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3418, allocations: 11.98 kB / 405.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.625e-05/0.3419, allocations: 60 kB / 405.6 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.3424, allocations: 191.5 kB / 405.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.3429, allocations: 107.9 kB / 405.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.3465, allocations: 2.758 MB / 408.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/0.3473, allocations: 27.97 kB / 408.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/0.3474, allocations: 28 kB / 408.7 MB, free: 4.961 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.0005481/0.3479, allocations: 285.6 kB / 409 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.3482, allocations: 181.8 kB / 409.1 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.3504, allocations: 0.9663 MB / 410.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3504, allocations: 12 kB / 410.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3504, allocations: 4 kB / 410.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3504, allocations: 3.984 kB / 410.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.3519, allocations: 0.9087 MB / 411 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.828e-05/0.352, allocations: 56 kB / 411.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.3523, allocations: 67.89 kB / 411.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.3528, allocations: 179.4 kB / 411.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.3529, allocations: 27.8 kB / 411.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/0.3564, allocations: 2.749 MB / 414.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3564, allocations: 0 / 414.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.3587, allocations: 1.184 MB / 415.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.3593, allocations: 251.1 kB / 415.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.3594, allocations: 12 kB / 415.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.3598, allocations: 27.91 kB / 415.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.36, allocations: 56.38 kB / 415.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.36, allocations: 16 kB / 415.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.3612, allocations: 0.8574 MB / 416.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3612, allocations: 3.938 kB / 416.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001087/0.3623, allocations: 387.8 kB / 416.9 MB, free: 12.53 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.0008073/0.3631, allocations: 459.6 kB / 417.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.3651, allocations: 0.9251 MB / 418.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3651, allocations: 0 / 418.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.3663, allocations: 0.6543 MB / 418.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3675, allocations: 218.1 kB / 419.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.3719, allocations: 2.921 MB / 422 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/0.3728, allocations: 1.17 MB / 423.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.373, allocations: 91.42 kB / 423.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.373, allocations: 0 / 423.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of Templates: time 0.03465/0.4077, allocations: 24.14 MB / 447.4 MB, free: 13.9 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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