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.001289/0.001289, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001312/0.001312, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.588/1.588, allocations: 205.1 MB / 225.1 MB, free: 12.27 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.00127/0.00127, allocations: 51.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.006606/0.1252, allocations: 2.698 MB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1272, allocations: 0.7098 MB / 332.1 MB, free: 336 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.1275, allocations: 8 kB / 332.1 MB, free: 328 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.1277, allocations: 43.52 kB / 332.2 MB, free: 284 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.128, allocations: 87.25 kB / 332.3 MB, free: 196 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1284, allocations: 87.81 kB / 332.4 MB, free: 108 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005388/0.129, allocations: 338.5 kB / 332.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.1293, allocations: 113.7 kB / 332.8 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.1296, allocations: 127.5 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.1299, allocations: 147.4 kB / 333.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/0.13, allocations: 32 kB / 333.1 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.1301, allocations: 28 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.1302, allocations: 63.77 kB / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.1304, allocations: 143.3 kB / 333.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.1308, allocations: 310.9 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1309, allocations: 4 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1309, allocations: 0 / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1309, allocations: 0 / 333.6 MB, free: 14.83 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.001359/0.1323, allocations: 0.5926 MB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1323, allocations: 11.89 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.1324, allocations: 28.66 kB / 334.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.133, allocations: 279.6 kB / 334.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.133, allocations: 20.94 kB / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.1331, allocations: 24.38 kB / 334.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.1338, allocations: 249.2 kB / 334.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1338, allocations: 0 / 334.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.1339, allocations: 12 kB / 334.8 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1339, allocations: 4 kB / 334.8 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.1346, allocations: 218.1 kB / 335.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.1367, allocations: 0.9173 MB / 336 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.1373, allocations: 198.3 kB / 336.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/0.1378, allocations: 144.8 kB / 336.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1379, allocations: 4 kB / 336.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1379, allocations: 34.56 kB / 336.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 2.014e-06/0.1379, allocations: 0 / 336.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001802/0.1397, allocations: 0.5336 MB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.1398, allocations: 55.41 kB / 336.9 MB, free: 11.31 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.1402, allocations: 224.2 kB / 337.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.1402, allocations: 33.69 kB / 337.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1403, allocations: 171.8 kB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.1404, allocations: 67.09 kB / 337.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/0.1405, allocations: 45.7 kB / 337.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1407, allocations: 334.8 kB / 337.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.1409, allocations: 68.83 kB / 337.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.1412, allocations: 117.9 kB / 338 MB, free: 10.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.1416, allocations: 185.8 kB / 338.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1416, allocations: 3.938 kB / 338.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008449/0.1425, allocations: 333.8 kB / 338.5 MB, free: 9.656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1425, allocations: 4 kB / 338.5 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1425, allocations: 4 kB / 338.5 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/0.143, allocations: 108.9 kB / 338.6 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.1432, allocations: 59.91 kB / 338.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.1454, allocations: 1.923 MB / 340.6 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.1456, allocations: 31.67 kB / 340.6 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1456, allocations: 8 kB / 340.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000169/0.1458, allocations: 152.1 kB / 340.8 MB, free: 7.223 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000122/0.146, allocations: 105.9 kB / 340.9 MB, free: 7.098 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001987/0.1462, allocations: 177.9 kB / 341 MB, free: 6.902 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.1462, allocations: 3.938 kB / 341 MB, free: 6.898 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003944/0.1466, allocations: 257.9 kB / 341.3 MB, free: 6.637 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.1466, allocations: 8 kB / 341.3 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.1466, allocations: 0 / 341.3 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.1467, allocations: 48.77 kB / 341.4 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1469, allocations: 48.11 kB / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.1482, allocations: 1.721 MB / 343.1 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1484, allocations: 15.84 kB / 343.1 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1484, allocations: 8 kB / 343.1 MB, free: 4.652 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.0001312/0.1485, allocations: 196.1 kB / 343.3 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.1486, allocations: 23.72 kB / 343.4 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.1487, allocations: 25.86 kB / 343.4 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1487, allocations: 8 kB / 343.4 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1487, allocations: 3.938 kB / 343.4 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1487, allocations: 4 kB / 343.4 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1497, allocations: 0.6125 MB / 344 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1497, allocations: 0 / 344 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.1499, allocations: 35.92 kB / 344 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/0.1501, allocations: 68.98 kB / 344.1 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1501, allocations: 4 kB / 344.1 MB, free: 3.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.152, allocations: 1.876 MB / 346 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.152, allocations: 0 / 346 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.1527, allocations: 412.4 kB / 346.4 MB, free: 1.172 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.1528, allocations: 108.8 kB / 346.5 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1528, allocations: 3.938 kB / 346.5 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.153, allocations: 24.05 kB / 346.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.153, allocations: 7.984 kB / 346.5 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.153, allocations: 8 kB / 346.5 MB, free: 1.004 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1532, allocations: 169.6 kB / 346.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1532, allocations: 0 / 346.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006357/0.1538, allocations: 131.6 kB / 346.8 MB, free: 0.7109 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.0001463/0.154, allocations: 107.2 kB / 346.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009757/0.155, allocations: 0.5441 MB / 347.5 MB, free: 32 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.155, allocations: 0 / 347.5 MB, free: 32 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.1553, allocations: 214.5 kB / 347.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1557, allocations: 44.72 kB / 347.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.1573, allocations: 0.7218 MB / 348.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1576, allocations: 0.7561 MB / 349.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.909e-05/0.1577, allocations: 25.94 kB / 349.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.1578, allocations: 15.44 kB / 349.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1578, allocations: 0 / 349.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of Templates: time 0.006977/0.1648, allocations: 3.263 MB / 352.5 MB, free: 10.93 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 cvode -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