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.001034/0.001034, allocations: 95.62 kB / 16.93 MB, free: 5.98 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.001325/0.001325, allocations: 182.8 kB / 17.82 MB, free: 5.652 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.369/1.369, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004649/0.0004653, allocations: 8 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09553, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005164/0.1007, allocations: 5.981 MB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009829/0.1106, allocations: 9.119 MB / 343.4 MB, free: 4.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009467/0.1116, allocations: 39.69 kB / 343.5 MB, free: 4.906 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.1132, allocations: 0.5638 MB / 344 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.1163, allocations: 1.032 MB / 345.1 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1177, allocations: 459.3 kB / 345.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.1214, allocations: 2.354 MB / 347.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.1218, allocations: 251.2 kB / 348.1 MB, free: 228 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.1224, allocations: 398 kB / 348.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/0.1228, allocations: 485 kB / 349 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7e-05/0.1229, allocations: 32 kB / 349 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.1245, allocations: 0.6675 MB / 349.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.1246, allocations: 155 kB / 349.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.1249, allocations: 308.8 kB / 350.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.1261, allocations: 1.363 MB / 351.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1261, allocations: 0 / 351.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1261, allocations: 0 / 351.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1261, allocations: 3.938 kB / 351.5 MB, free: 12.82 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.002432/0.1286, allocations: 1.78 MB / 353.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1286, allocations: 8.031 kB / 353.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.1288, allocations: 201.6 kB / 353.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.1307, allocations: 1.26 MB / 354.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.1307, allocations: 36.94 kB / 354.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/0.1308, allocations: 48 kB / 354.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.1318, allocations: 0.5158 MB / 355.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1318, allocations: 0 / 355.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.1319, allocations: 16 kB / 355.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.1319, allocations: 19.98 kB / 355.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008964/0.1328, allocations: 500 kB / 355.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.1357, allocations: 2.104 MB / 358 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.1366, allocations: 0.7315 MB / 358.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007995/0.1446, allocations: 6.552 MB / 365.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008322/0.1455, allocations: 306.4 kB / 365.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 4.038e-06/0.1455, allocations: 0 / 365.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.005923/0.1515, allocations: 2.162 MB / 367.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.1515, allocations: 67.8 kB / 367.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.1538, allocations: 1.28 MB / 369 MB, free: 9.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.1539, allocations: 37.7 kB / 369.1 MB, free: 9.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008364/0.1548, allocations: 0.7073 MB / 369.8 MB, free: 9.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.155, allocations: 205 kB / 370 MB, free: 8.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.1551, allocations: 12 kB / 370 MB, free: 8.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1552, allocations: 330 kB / 370.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.1559, allocations: 209.5 kB / 370.5 MB, free: 8.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007323/0.1566, allocations: 372.3 kB / 370.9 MB, free: 7.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.1573, allocations: 254.8 kB / 371.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1574, allocations: 0 / 371.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0024/0.1598, allocations: 0.9338 MB / 372.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.1598, allocations: 8 kB / 372.1 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/0.1599, allocations: 55.98 kB / 372.1 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.1606, allocations: 157.3 kB / 372.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.1612, allocations: 123.8 kB / 372.4 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/0.1651, allocations: 2.338 MB / 374.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.1661, allocations: 28.03 kB / 374.8 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/0.1662, allocations: 32 kB / 374.8 MB, free: 3.914 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 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008165/0.167, allocations: 285.7 kB / 375.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.1673, allocations: 185.8 kB / 375.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.1701, allocations: 0.906 MB / 376.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.1701, allocations: 4 kB / 376.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.1701, allocations: 7.953 kB / 376.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1702, allocations: 4 kB / 376.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.1717, allocations: 0.8631 MB / 377.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001121/0.1718, allocations: 55.98 kB / 377.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.1723, allocations: 71.83 kB / 377.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005398/0.1729, allocations: 144 kB / 377.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.1729, allocations: 27.88 kB / 377.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2311/0.404, allocations: 2.305 MB / 379.7 MB, free: 51.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4041, allocations: 2.781 kB / 379.7 MB, free: 51.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.4064, allocations: 1.09 MB / 380.7 MB, free: 51.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.4069, allocations: 248.5 kB / 381 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.4071, allocations: 18.27 kB / 381 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.4075, allocations: 24 kB / 381 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.4077, allocations: 46.8 kB / 381.1 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.4078, allocations: 25.61 kB / 381.1 MB, free: 51.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001468/0.4093, allocations: 0.8464 MB / 381.9 MB, free: 51.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4093, allocations: 1.969 kB / 381.9 MB, free: 51.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001076/0.4104, allocations: 379.9 kB / 382.3 MB, free: 51.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007912/0.4112, allocations: 430.8 kB / 382.7 MB, free: 51.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.413, allocations: 0.8666 MB / 383.6 MB, free: 51.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.413, allocations: 0 / 383.6 MB, free: 51.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.414, allocations: 0.5905 MB / 384.2 MB, free: 50.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.4146, allocations: 167.5 kB / 384.4 MB, free: 50.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.4186, allocations: 2.744 MB / 387.1 MB, free: 49.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009416/0.4196, allocations: 1.202 MB / 388.3 MB, free: 48.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007301/0.4203, allocations: 187.4 kB / 388.5 MB, free: 48.63 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.4205, allocations: 85.12 kB / 388.6 MB, free: 48.62 MB / 318.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4205, allocations: 5.094 kB / 388.6 MB, free: 48.62 MB / 318.1 MB Notification: Performance of Templates: time 0.02449/0.445, allocations: 12.2 MB / 400.8 MB, free: 42.66 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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