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.001609/0.001609, allocations: 106.4 kB / 17.73 MB, free: 5.367 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.001806/0.001807, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.352/1.352, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001175/0.001175, allocations: 59.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08788, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.1835/0.2714, allocations: 7.348 MB / 382.5 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2831, allocations: 10.38 MB / 392.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.2842, allocations: 78.38 kB / 392.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.2863, allocations: 0.6963 MB / 393.6 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.2901, allocations: 1.18 MB / 394.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.2922, allocations: 0.6718 MB / 395.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003245/0.2954, allocations: 2.479 MB / 398 MB, free: 32 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004469/0.2959, allocations: 283.4 kB / 398.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007067/0.2966, allocations: 482 kB / 398.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.2972, allocations: 0.5282 MB / 399.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.2973, allocations: 54.81 kB / 399.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.2991, allocations: 0.7029 MB / 400 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.2993, allocations: 179.1 kB / 400.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005872/0.2999, allocations: 0.6703 MB / 400.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.3022, allocations: 1.942 MB / 402.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3022, allocations: 0 / 402.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3023, allocations: 5.375 kB / 402.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.3023, allocations: 1.125 kB / 402.8 MB, free: 13.85 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.00282/0.3051, allocations: 1.979 MB / 404.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3051, allocations: 9.625 kB / 404.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.3054, allocations: 197.3 kB / 405 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.3072, allocations: 1.337 MB / 406.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.3072, allocations: 35.11 kB / 406.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.3073, allocations: 45.33 kB / 406.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.3084, allocations: 0.5159 MB / 406.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3084, allocations: 0 / 406.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.3084, allocations: 19.58 kB / 406.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.3085, allocations: 15.41 kB / 406.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000935/0.3094, allocations: 475.3 kB / 407.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.3126, allocations: 2.103 MB / 409.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3136, allocations: 0.7051 MB / 410.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007766/0.3144, allocations: 0.51 MB / 410.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007942/0.3223, allocations: 6.498 MB / 417.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006099/0.323, allocations: 297.3 kB / 417.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=55): time 2.525e-06/0.323, allocations: 0 / 417.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=59): time 0.004354/0.3274, allocations: 1.964 MB / 419.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3274, allocations: 57.75 kB / 419.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.3291, allocations: 1.295 MB / 420.8 MB, free: 324 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.3291, allocations: 40.44 kB / 420.9 MB, free: 280 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006563/0.3298, allocations: 0.708 MB / 421.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.33, allocations: 201.3 kB / 421.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.3302, allocations: 125.6 kB / 421.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3303, allocations: 331.8 kB / 422.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.3307, allocations: 202.4 kB / 422.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.3313, allocations: 351.8 kB / 422.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.3336, allocations: 1.139 MB / 423.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3336, allocations: 8 kB / 423.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001778/0.3354, allocations: 0.9147 MB / 424.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3354, allocations: 8 kB / 424.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.064e-05/0.3355, allocations: 60.86 kB / 424.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004299/0.3359, allocations: 165.4 kB / 425 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.3364, allocations: 107.9 kB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.3394, allocations: 2.52 MB / 427.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/0.3402, allocations: 28.03 kB / 427.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/0.3403, allocations: 32 kB / 427.7 MB, free: 9.273 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.000665/0.341, allocations: 277.7 kB / 428 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.3413, allocations: 181.8 kB / 428.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.3433, allocations: 0.8927 MB / 429.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.3433, allocations: 4 kB / 429.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.3433, allocations: 7.562 kB / 429.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3433, allocations: 7.922 kB / 429.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3451, allocations: 0.8669 MB / 430 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.879e-05/0.3452, allocations: 55.98 kB / 430 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.3455, allocations: 67.89 kB / 430.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000395/0.3459, allocations: 141 kB / 430.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.346, allocations: 23.98 kB / 430.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/0.3492, allocations: 2.495 MB / 432.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3492, allocations: 0 / 432.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.3513, allocations: 1.064 MB / 433.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/0.3519, allocations: 246.9 kB / 434 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/0.3523, allocations: 12 kB / 434.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.3529, allocations: 31.97 kB / 434.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.353, allocations: 40.39 kB / 434.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.3531, allocations: 27.98 kB / 434.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00167/0.3548, allocations: 0.8578 MB / 435 MB, free: 1.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3548, allocations: 0 / 435 MB, free: 1.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001472/0.3563, allocations: 375.8 kB / 435.4 MB, free: 1.383 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.001111/0.3574, allocations: 465.8 kB / 435.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.3592, allocations: 0.8403 MB / 436.7 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3592, allocations: 0 / 436.7 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.3602, allocations: 0.5865 MB / 437.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3614, allocations: 184.3 kB / 437.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.3656, allocations: 2.386 MB / 439.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009375/0.3666, allocations: 1.17 MB / 441 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005561/0.3672, allocations: 183.2 kB / 441.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3673, allocations: 79.44 kB / 441.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3674, allocations: 4 kB / 441.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of Templates: time 0.02855/0.3959, allocations: 13.47 MB / 454.7 MB, free: 13.89 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