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.001388/0.001388, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001257/0.001257, allocations: 186.9 kB / 19.28 MB, free: 3.879 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.531/1.531, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.002098/0.002098, allocations: 51.94 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1284, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004343/0.1328, allocations: 2.698 MB / 331.4 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1341, allocations: 0.7137 MB / 332.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.1342, allocations: 4 kB / 332.1 MB, free: 308 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.1345, allocations: 47.56 kB / 332.2 MB, free: 260 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1346, allocations: 91.19 kB / 332.3 MB, free: 168 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1349, allocations: 83.89 kB / 332.4 MB, free: 84 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1353, allocations: 346.5 kB / 332.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.1355, allocations: 105.7 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.1357, allocations: 131.5 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1359, allocations: 135.5 kB / 333.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.1359, allocations: 28 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.136, allocations: 31.94 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.136, allocations: 71.75 kB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1362, allocations: 139.3 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.1365, allocations: 314.8 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1365, allocations: 0 / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1365, allocations: 3.938 kB / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1365, allocations: 0 / 333.6 MB, free: 14.8 MB / 286.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.0009693/0.1375, allocations: 0.5887 MB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1376, allocations: 15.89 kB / 334.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.1376, allocations: 28.66 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.138, allocations: 267.7 kB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1381, allocations: 28.88 kB / 334.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.1381, allocations: 24.38 kB / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.1386, allocations: 249.1 kB / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1386, allocations: 0 / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.1386, allocations: 12 kB / 334.8 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1387, allocations: 4 kB / 334.8 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.1391, allocations: 218.1 kB / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.1406, allocations: 0.9173 MB / 336 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.1411, allocations: 186.4 kB / 336.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.1414, allocations: 152.8 kB / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1415, allocations: 7.938 kB / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1415, allocations: 38.56 kB / 336.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.1415, allocations: 0 / 336.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001504/0.143, allocations: 0.5298 MB / 336.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1431, allocations: 55.34 kB / 336.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.1433, allocations: 228.2 kB / 337.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1434, allocations: 33.7 kB / 337.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1435, allocations: 175.8 kB / 337.4 MB, free: 10.83 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1435, allocations: 59.11 kB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.1436, allocations: 45.7 kB / 337.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1437, allocations: 330.8 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1439, allocations: 68.83 kB / 337.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1441, allocations: 122 kB / 338 MB, free: 10.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.1444, allocations: 193.8 kB / 338.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.1444, allocations: 0 / 338.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007064/0.1451, allocations: 337.9 kB / 338.5 MB, free: 9.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.1451, allocations: 4 kB / 338.5 MB, free: 9.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1451, allocations: 4 kB / 338.5 MB, free: 9.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.1457, allocations: 108.8 kB / 338.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.1459, allocations: 51.92 kB / 338.7 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.1482, allocations: 1.927 MB / 340.6 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.1483, allocations: 31.75 kB / 340.6 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1484, allocations: 8 kB / 340.6 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001634/0.1485, allocations: 152.1 kB / 340.8 MB, free: 7.199 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001168/0.1487, allocations: 106 kB / 340.9 MB, free: 7.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002105/0.1489, allocations: 181.8 kB / 341.1 MB, free: 6.875 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.981e-06/0.1489, allocations: 3.938 kB / 341.1 MB, free: 6.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004202/0.1493, allocations: 254 kB / 341.3 MB, free: 6.613 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.1493, allocations: 4 kB / 341.3 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1494, allocations: 4 kB / 341.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.1495, allocations: 48.77 kB / 341.4 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1497, allocations: 47.91 kB / 341.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.1513, allocations: 1.717 MB / 343.1 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.1515, allocations: 15.84 kB / 343.1 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1515, allocations: 8 kB / 343.1 MB, free: 4.633 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.1516, allocations: 200.1 kB / 343.3 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.1517, allocations: 19.72 kB / 343.4 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.1518, allocations: 25.88 kB / 343.4 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1518, allocations: 3.938 kB / 343.4 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1518, allocations: 0 / 343.4 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1518, allocations: 4.047 kB / 343.4 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1528, allocations: 0.6165 MB / 344 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1528, allocations: 3.938 kB / 344 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.153, allocations: 31.97 kB / 344 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/0.1532, allocations: 68.81 kB / 344.1 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1533, allocations: 4 kB / 344.1 MB, free: 3.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.1555, allocations: 1.88 MB / 346 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1555, allocations: 3.984 kB / 346 MB, free: 1.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.1562, allocations: 416.4 kB / 346.4 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.1563, allocations: 100.8 kB / 346.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.1564, allocations: 7.984 kB / 346.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1566, allocations: 23.98 kB / 346.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1566, allocations: 11.98 kB / 346.5 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1566, allocations: 4 kB / 346.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.1568, allocations: 169.6 kB / 346.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1568, allocations: 0 / 346.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006076/0.1574, allocations: 127.6 kB / 346.8 MB, free: 0.6914 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.1576, allocations: 103.2 kB / 346.9 MB, free: 0.582 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009804/0.1586, allocations: 0.5443 MB / 347.5 MB, free: 16 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1586, allocations: 128 / 347.5 MB, free: 16 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.1589, allocations: 218.5 kB / 347.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.1593, allocations: 44.7 kB / 347.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1609, allocations: 0.7254 MB / 348.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.1613, allocations: 0.7522 MB / 349.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.1615, allocations: 29.92 kB / 349.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.1615, allocations: 15.44 kB / 349.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1615, allocations: 0 / 349.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Templates: time 0.007509/0.169, allocations: 3.259 MB / 352.5 MB, free: 10.91 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches