Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 95.97 kB / 16.93 MB, free: 5.984 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.001448/0.001448, allocations: 180.3 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.815/1.815, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005469/0.0005471, allocations: 23.28 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1433, allocations: 47.57 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00289/0.1463, allocations: 2.154 MB / 330.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1478, allocations: 0.6949 MB / 331.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.148, allocations: 7.938 kB / 331.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.455e-05/0.1481, allocations: 35.69 kB / 331.2 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1484, allocations: 103.7 kB / 331.3 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1487, allocations: 59.94 kB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.1491, allocations: 231.5 kB / 331.6 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.1493, allocations: 85.69 kB / 331.7 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.1495, allocations: 103.6 kB / 331.8 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1497, allocations: 123.4 kB / 331.9 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.1497, allocations: 16 kB / 331.9 MB, free: 488 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.873e-05/0.1498, allocations: 16 kB / 331.9 MB, free: 472 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1499, allocations: 47.81 kB / 332 MB, free: 424 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.1499, allocations: 69.58 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1502, allocations: 231.6 kB / 332.3 MB, free: 116 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1502, allocations: 4 kB / 332.3 MB, free: 112 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1502, allocations: 3.938 kB / 332.3 MB, free: 108 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1502, allocations: 0 / 332.3 MB, free: 108 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001055/0.1513, allocations: 0.5458 MB / 332.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1513, allocations: 8.031 kB / 332.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.1514, allocations: 31.62 kB / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.1518, allocations: 262.4 kB / 333.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1518, allocations: 20.56 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.1519, allocations: 24 kB / 333.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.1524, allocations: 240.9 kB / 333.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1524, allocations: 0 / 333.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.1525, allocations: 8 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1525, allocations: 8 kB / 333.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.153, allocations: 230.1 kB / 333.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.1545, allocations: 0.933 MB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.155, allocations: 198.5 kB / 334.8 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1551, allocations: 7.984 kB / 334.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1551, allocations: 34.56 kB / 334.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.1551, allocations: 7.938 kB / 334.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001586/0.1567, allocations: 0.5882 MB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1568, allocations: 59.39 kB / 335.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.157, allocations: 221.5 kB / 335.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1571, allocations: 29.7 kB / 335.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1572, allocations: 175.9 kB / 335.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.1573, allocations: 67.02 kB / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.1574, allocations: 8 kB / 336 MB, free: 12.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1575, allocations: 330.8 kB / 336.3 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1577, allocations: 63.97 kB / 336.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1579, allocations: 121.9 kB / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.158, allocations: 79.92 kB / 336.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1581, allocations: 4 kB / 336.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000796/0.1589, allocations: 366 kB / 336.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003531/0.1592, allocations: 0.6125 MB / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.1592, allocations: 0 / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.1596, allocations: 76.81 kB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1598, allocations: 47.91 kB / 337.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/0.1625, allocations: 1.842 MB / 339.5 MB, free: 8.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1627, allocations: 27.73 kB / 339.5 MB, free: 8.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1627, allocations: 8 kB / 339.5 MB, free: 8.395 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1627, allocations: 4 kB / 339.5 MB, free: 8.391 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003757/0.1631, allocations: 216.2 kB / 339.7 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1631, allocations: 4.25 kB / 339.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.763e-05/0.1632, allocations: 40.83 kB / 339.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1634, allocations: 39.98 kB / 339.8 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.1647, allocations: 1.561 MB / 341.4 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.1648, allocations: 15.84 kB / 341.4 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1649, allocations: 8 kB / 341.4 MB, free: 6.375 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.1651, allocations: 217 kB / 341.6 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.1651, allocations: 19.81 kB / 341.6 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.1652, allocations: 33.91 kB / 341.7 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1652, allocations: 4 kB / 341.7 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1652, allocations: 0 / 341.7 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1652, allocations: 0 / 341.7 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.1656, allocations: 309.4 kB / 342 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1656, allocations: 0 / 342 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1658, allocations: 27.98 kB / 342 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.166, allocations: 72.8 kB / 342.1 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.166, allocations: 8 kB / 342.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.168, allocations: 1.764 MB / 343.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.168, allocations: 0 / 343.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.1687, allocations: 439.8 kB / 344.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1688, allocations: 116.8 kB / 344.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1689, allocations: 0 / 344.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.169, allocations: 19.98 kB / 344.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.1691, allocations: 11.98 kB / 344.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1691, allocations: 11.94 kB / 344.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1693, allocations: 164.5 kB / 344.6 MB, free: 2.953 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1693, allocations: 4 kB / 344.6 MB, free: 2.949 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000634/0.1699, allocations: 127.7 kB / 344.7 MB, free: 2.824 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002021/0.1701, allocations: 99.25 kB / 344.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.1712, allocations: 0.5673 MB / 345.4 MB, free: 2.125 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.1712, allocations: 4 kB / 345.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.1715, allocations: 214.6 kB / 345.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1719, allocations: 44.39 kB / 345.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.174, allocations: 0.9532 MB / 346.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1744, allocations: 0.7522 MB / 347.3 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.1745, allocations: 25.92 kB / 347.4 MB, free: 72 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.1746, allocations: 19.44 kB / 347.4 MB, free: 52 kB / 286.1 MB Notification: Performance of SimCode: time 1.173e-06/0.1746, allocations: 4 kB / 347.4 MB, free: 48 kB / 286.1 MB Notification: Performance of Templates: time 0.007148/0.1817, allocations: 2.928 MB / 350.3 MB, free: 13.12 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches