Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001517, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002387, allocations: 59.72 kB / 306.9 MB, free: 0.6523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.124, allocations: 50.53 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004973/0.129, allocations: 2.711 MB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1308, allocations: 0.705 MB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.1313, allocations: 7.938 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.1315, allocations: 43.58 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.1319, allocations: 87.25 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.1322, allocations: 95.8 kB / 361.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.1327, allocations: 338.4 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.133, allocations: 113.6 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.1334, allocations: 135.6 kB / 361.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.1337, allocations: 143.4 kB / 361.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.223e-05/0.1337, allocations: 31.94 kB / 361.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.1338, allocations: 28 kB / 361.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.1339, allocations: 59.77 kB / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.1341, allocations: 143.3 kB / 362.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.1345, allocations: 307.1 kB / 362.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1345, allocations: 0 / 362.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1345, allocations: 3.938 kB / 362.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.1345, allocations: 0 / 362.4 MB, free: 9.164 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.001138/0.1357, allocations: 0.5888 MB / 363 MB, free: 8.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.1357, allocations: 16.02 kB / 363 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/0.1358, allocations: 28.56 kB / 363 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1362, allocations: 263.7 kB / 363.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1362, allocations: 16.94 kB / 363.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.1363, allocations: 28.38 kB / 363.3 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.1368, allocations: 283.9 kB / 363.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1368, allocations: 0 / 363.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.1369, allocations: 12 kB / 363.6 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1369, allocations: 8 kB / 363.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.1374, allocations: 206.1 kB / 363.8 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.1393, allocations: 1.015 MB / 364.8 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.1399, allocations: 186.5 kB / 365 MB, free: 6.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.1403, allocations: 155.9 kB / 365.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1403, allocations: 3.984 kB / 365.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1404, allocations: 38.56 kB / 365.2 MB, free: 6.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.1404, allocations: 0 / 365.2 MB, free: 6.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001866/0.1423, allocations: 0.5539 MB / 365.8 MB, free: 5.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.1424, allocations: 59.31 kB / 365.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1426, allocations: 229 kB / 366.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1427, allocations: 29.69 kB / 366.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1428, allocations: 175.8 kB / 366.3 MB, free: 5.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.1429, allocations: 67.08 kB / 366.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/0.143, allocations: 45.7 kB / 366.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1431, allocations: 326.8 kB / 366.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.1433, allocations: 75.95 kB / 366.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1435, allocations: 122.8 kB / 366.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.144, allocations: 214.7 kB / 367.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.144, allocations: 0 / 367.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009135/0.1449, allocations: 354 kB / 367.4 MB, free: 3.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1449, allocations: 4 kB / 367.4 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.1449, allocations: 0 / 367.4 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.1454, allocations: 88.8 kB / 367.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1456, allocations: 47.97 kB / 367.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/0.1488, allocations: 2.005 MB / 369.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.1491, allocations: 39.73 kB / 369.6 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1491, allocations: 8 kB / 369.6 MB, free: 1.449 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.0002002/0.1493, allocations: 137.8 kB / 369.8 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.1494, allocations: 15.81 kB / 369.8 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.1495, allocations: 34.11 kB / 369.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1495, allocations: 0 / 369.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1495, allocations: 0 / 369.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1495, allocations: 0 / 369.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.1509, allocations: 0.6667 MB / 370.5 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.1509, allocations: 3.984 kB / 370.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.1511, allocations: 27.98 kB / 370.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003127/0.1514, allocations: 80.8 kB / 370.6 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1515, allocations: 4 kB / 370.6 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2051/0.3565, allocations: 1.91 MB / 372.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3566, allocations: 1.297 kB / 372.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.3577, allocations: 461.4 kB / 373 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/0.3578, allocations: 102.9 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.3578, allocations: 7.891 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.3581, allocations: 16.59 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.3581, allocations: 20.67 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3582, allocations: 4.828 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.3584, allocations: 168.3 kB / 373.3 MB, free: 18.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3584, allocations: 0 / 373.3 MB, free: 18.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005216/0.3589, allocations: 76.14 kB / 373.3 MB, free: 18.44 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.0001475/0.3591, allocations: 103.5 kB / 373.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.3602, allocations: 386.7 kB / 373.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.3603, allocations: 1.219 kB / 373.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.3606, allocations: 205.1 kB / 374 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.3611, allocations: 40.91 kB / 374.1 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.3639, allocations: 0.8699 MB / 374.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3641, allocations: 0.751 MB / 375.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.3643, allocations: 28.05 kB / 375.7 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.3643, allocations: 18.22 kB / 375.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3643, allocations: 0 / 375.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of Templates: time 0.008624/0.3729, allocations: 2.882 MB / 378.6 MB, free: 17 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches