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.001057/0.001057, allocations: 102 kB / 17.16 MB, free: 6.32 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.001088/0.001088, allocations: 190 kB / 18.07 MB, free: 5.414 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.307/1.307, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001224/0.001224, allocations: 47.94 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09739, allocations: 46.63 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00873/0.1062, allocations: 7.315 MB / 333.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.119, allocations: 10.61 MB / 344.5 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.1207, allocations: 39.69 kB / 344.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.1228, allocations: 0.6178 MB / 345.2 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.1265, allocations: 0.9486 MB / 346.1 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.1281, allocations: 491.7 kB / 346.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004001/0.1321, allocations: 2.416 MB / 349 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/0.1326, allocations: 260.3 kB / 349.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005951/0.1332, allocations: 441.6 kB / 349.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004729/0.1337, allocations: 0.5084 MB / 350.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.1338, allocations: 36 kB / 350.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.1354, allocations: 0.683 MB / 350.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.1356, allocations: 166.8 kB / 351.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.1362, allocations: 0.6558 MB / 351.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.1381, allocations: 1.888 MB / 353.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1381, allocations: 8 kB / 353.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1381, allocations: 0 / 353.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.1382, allocations: 0 / 353.6 MB, free: 9.703 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.002811/0.141, allocations: 1.977 MB / 355.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.141, allocations: 11.97 kB / 355.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.1412, allocations: 202.6 kB / 355.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.1429, allocations: 1.341 MB / 357.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1429, allocations: 37 kB / 357.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.143, allocations: 44 kB / 357.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.1439, allocations: 0.5158 MB / 357.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.144, allocations: 0 / 357.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.144, allocations: 16 kB / 357.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.144, allocations: 16 kB / 357.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.1449, allocations: 472.1 kB / 358.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.1477, allocations: 2.108 MB / 360.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.1488, allocations: 0.7079 MB / 361.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/0.1495, allocations: 0.5096 MB / 361.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007511/0.157, allocations: 6.505 MB / 368.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005829/0.1576, allocations: 294.5 kB / 368.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 2.595e-06/0.1577, allocations: 0 / 368.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.003647/0.1613, allocations: 1.967 MB / 370.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1614, allocations: 63.77 kB / 370.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.1629, allocations: 1.296 MB / 371.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.1629, allocations: 33.7 kB / 371.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000565/0.1635, allocations: 0.7111 MB / 372.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.1636, allocations: 201 kB / 372.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.1638, allocations: 122.2 kB / 372.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1639, allocations: 329.9 kB / 373.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.1644, allocations: 205.4 kB / 373.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.1649, allocations: 359.8 kB / 373.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.1671, allocations: 1.135 MB / 374.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1671, allocations: 4 kB / 374.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00157/0.1687, allocations: 0.918 MB / 375.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1687, allocations: 12.61 kB / 375.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.737e-05/0.1688, allocations: 52 kB / 375.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/0.1692, allocations: 163.8 kB / 375.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.1697, allocations: 111.9 kB / 376 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1523/0.322, allocations: 2.284 MB / 378.3 MB, free: 53.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.3229, allocations: 30.73 kB / 378.3 MB, free: 53.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.3229, allocations: 31.16 kB / 378.4 MB, free: 53.24 MB / 318.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.0006943/0.3237, allocations: 276.4 kB / 378.6 MB, free: 53.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.3239, allocations: 182.7 kB / 378.8 MB, free: 53.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.3258, allocations: 0.8935 MB / 379.7 MB, free: 53.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.3258, allocations: 6.203 kB / 379.7 MB, free: 53.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3258, allocations: 2.75 kB / 379.7 MB, free: 53.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3258, allocations: 2.672 kB / 379.7 MB, free: 53.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.3271, allocations: 0.8649 MB / 380.6 MB, free: 52.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.456e-05/0.3272, allocations: 59.58 kB / 380.6 MB, free: 52.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.3276, allocations: 66.11 kB / 380.7 MB, free: 52.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.328, allocations: 147 kB / 380.9 MB, free: 52.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.3281, allocations: 19.98 kB / 380.9 MB, free: 52.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.3303, allocations: 2.277 MB / 383.1 MB, free: 50.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3303, allocations: 5.297 kB / 383.2 MB, free: 50.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.3323, allocations: 1.061 MB / 384.2 MB, free: 50.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.3326, allocations: 255.3 kB / 384.5 MB, free: 50.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.3327, allocations: 12.97 kB / 384.5 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.3331, allocations: 19.03 kB / 384.5 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.3333, allocations: 43.45 kB / 384.5 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.3333, allocations: 23.8 kB / 384.6 MB, free: 50.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.3345, allocations: 0.8593 MB / 385.4 MB, free: 50.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3346, allocations: 0 / 385.4 MB, free: 50.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009748/0.3355, allocations: 376.1 kB / 385.8 MB, free: 50.01 MB / 318.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.0007544/0.3363, allocations: 455.9 kB / 386.2 MB, free: 49.9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.3379, allocations: 0.84 MB / 387.1 MB, free: 49.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3379, allocations: 0 / 387.1 MB, free: 49.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009286/0.3389, allocations: 0.5847 MB / 387.7 MB, free: 49.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.3397, allocations: 183.4 kB / 387.8 MB, free: 49.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.3436, allocations: 2.844 MB / 390.7 MB, free: 47.42 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.3443, allocations: 1.169 MB / 391.8 MB, free: 46.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005694/0.3449, allocations: 188.2 kB / 392 MB, free: 46.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.345, allocations: 81.88 kB / 392.1 MB, free: 46.64 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.345, allocations: 0 / 392.1 MB, free: 46.64 MB / 318.1 MB Notification: Performance of Templates: time 0.02143/0.3664, allocations: 12.87 MB / 405 MB, free: 38.19 MB / 318.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","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches