Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001207/0.001207, allocations: 105.4 kB / 16.92 MB, free: 6.145 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.001244/0.001244, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 48.17 kB / 300.6 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 49.45 MB / 350.1 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004807/0.132, allocations: 2.695 MB / 352.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1339, allocations: 0.67 MB / 353.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.1343, allocations: 8 kB / 353.4 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1345, allocations: 51.5 kB / 353.5 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1349, allocations: 83.25 kB / 353.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1352, allocations: 87.88 kB / 353.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.1357, allocations: 334.4 kB / 354 MB, free: 468 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.136, allocations: 117.7 kB / 354.1 MB, free: 348 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1363, allocations: 127.5 kB / 354.2 MB, free: 220 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1365, allocations: 147.3 kB / 354.4 MB, free: 72 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.1366, allocations: 32 kB / 354.4 MB, free: 40 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.687e-05/0.1366, allocations: 24 kB / 354.4 MB, free: 16 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.1367, allocations: 55.91 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.1369, allocations: 147.3 kB / 354.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.1372, allocations: 315 kB / 354.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1373, allocations: 0 / 354.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1373, allocations: 0 / 354.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1373, allocations: 0 / 354.9 MB, free: 15.51 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001182/0.1385, allocations: 0.599 MB / 355.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1385, allocations: 11.89 kB / 355.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.1387, allocations: 32.56 kB / 355.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.139, allocations: 260.3 kB / 355.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.1391, allocations: 24.94 kB / 355.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.1391, allocations: 24.38 kB / 355.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.1397, allocations: 279.9 kB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1397, allocations: 0 / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.1397, allocations: 16 kB / 356.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1397, allocations: 4 kB / 356.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.1402, allocations: 210.1 kB / 356.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.142, allocations: 1.007 MB / 357.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.1425, allocations: 186.5 kB / 357.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.1429, allocations: 160.7 kB / 357.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1429, allocations: 0 / 357.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.143, allocations: 38.56 kB / 357.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.143, allocations: 0 / 357.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001813/0.1448, allocations: 0.55 MB / 358.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1449, allocations: 59.41 kB / 358.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.1451, allocations: 236.9 kB / 358.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1451, allocations: 33.64 kB / 358.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1453, allocations: 179.7 kB / 358.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.1453, allocations: 59.11 kB / 358.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.1454, allocations: 45.7 kB / 358.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1456, allocations: 338.8 kB / 359.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.1458, allocations: 67.97 kB / 359.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.1461, allocations: 127.3 kB / 359.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.1465, allocations: 210.7 kB / 359.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1465, allocations: 0 / 359.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009112/0.1474, allocations: 351.8 kB / 360 MB, free: 10.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1475, allocations: 11.94 kB / 360 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1475, allocations: 0 / 360 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.1479, allocations: 80.86 kB / 360.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1481, allocations: 47.97 kB / 360.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/0.1512, allocations: 2.013 MB / 362.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.1514, allocations: 39.73 kB / 362.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1515, allocations: 8 kB / 362.2 MB, free: 7.789 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.1517, allocations: 145.6 kB / 362.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.1518, allocations: 19.81 kB / 362.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.1518, allocations: 26.17 kB / 362.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1518, allocations: 4 kB / 362.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.1518, allocations: 0 / 362.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1518, allocations: 0 / 362.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.1531, allocations: 0.6615 MB / 363 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1532, allocations: 0 / 363 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.1533, allocations: 35.98 kB / 363.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/0.1536, allocations: 72.8 kB / 363.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1536, allocations: 8 kB / 363.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/0.1562, allocations: 1.912 MB / 365.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1563, allocations: 4 kB / 365.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.1572, allocations: 459.8 kB / 365.5 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.1573, allocations: 108.9 kB / 365.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.1574, allocations: 0 / 365.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1576, allocations: 24.05 kB / 365.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.1576, allocations: 15.92 kB / 365.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1576, allocations: 7.984 kB / 365.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.1578, allocations: 168.4 kB / 365.8 MB, free: 3.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1578, allocations: 3.938 kB / 365.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004504/0.1583, allocations: 75.84 kB / 365.9 MB, free: 3.824 MB / 302.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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001533/0.1584, allocations: 103.2 kB / 366 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009439/0.1594, allocations: 370.5 kB / 366.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1594, allocations: 0 / 366.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.1597, allocations: 217.2 kB / 366.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.1603, allocations: 36.95 kB / 366.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.1629, allocations: 0.8613 MB / 367.5 MB, free: 2.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1633, allocations: 0.7518 MB / 368.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1634, allocations: 29.92 kB / 368.3 MB, free: 1.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.1635, allocations: 15.44 kB / 368.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1635, allocations: 0 / 368.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of Templates: time 0.1963/0.3598, allocations: 2.876 MB / 371.1 MB, free: 24.89 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches