Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 169 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 3.984 kB / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.556e-05, allocations: 2.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003743/0.003769, allocations: 2.68 MB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.005368, allocations: 0.6933 MB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.005508, allocations: 8 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.00566, allocations: 51.5 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.005829, allocations: 91.19 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.00606, allocations: 91.8 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.006333, allocations: 346.4 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.006497, allocations: 78.03 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.006816, allocations: 211.4 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.006934, allocations: 99.69 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.006968, allocations: 28 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.037e-05/0.006998, allocations: 28 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.007037, allocations: 63.75 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.746e-05/0.007104, allocations: 99.75 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.007317, allocations: 207.2 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00732, allocations: 0 / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007321, allocations: 0 / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.007325, allocations: 0 / 278.2 MB, free: 12.48 MB / 266.7 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.000663/0.007988, allocations: 0.6168 MB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.00803, allocations: 12.03 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.008091, allocations: 48.75 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.0083, allocations: 220.1 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.008315, allocations: 20.88 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.008347, allocations: 28.36 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.008611, allocations: 290.8 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.008619, allocations: 4.125 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.008635, allocations: 12.38 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.008642, allocations: 11.94 kB / 279.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.321e-05/0.008735, allocations: 83.36 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008748/0.00961, allocations: 0.8943 MB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.009813, allocations: 131 kB / 280.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.009968, allocations: 107.6 kB / 280.7 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.009985, allocations: 4 kB / 280.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.01001, allocations: 37.7 kB / 280.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.01001, allocations: 4 kB / 280.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005625/0.01057, allocations: 294.8 kB / 281 MB, free: 9.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.01059, allocations: 55.39 kB / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.01073, allocations: 265.4 kB / 281.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.01074, allocations: 25.7 kB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.01083, allocations: 238.8 kB / 281.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.01086, allocations: 63.42 kB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.01092, allocations: 51.34 kB / 281.7 MB, free: 8.762 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.01105, allocations: 0.5039 MB / 282.2 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.01109, allocations: 23.98 kB / 282.2 MB, free: 8.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.01117, allocations: 117.4 kB / 282.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.01129, allocations: 148.4 kB / 282.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01129, allocations: 0 / 282.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000278/0.01157, allocations: 233 kB / 282.7 MB, free: 7.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.01159, allocations: 8.031 kB / 282.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01159, allocations: 4 kB / 282.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.01181, allocations: 67.64 kB / 282.8 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.01191, allocations: 51.91 kB / 282.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.01332, allocations: 2.153 MB / 285 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.871e-05/0.01341, allocations: 23.83 kB / 285 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.01342, allocations: 7.938 kB / 285 MB, free: 5.23 MB / 266.7 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 9.137e-05/0.01351, allocations: 168.6 kB / 285.2 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.01354, allocations: 23.86 kB / 285.2 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.01356, allocations: 25.8 kB / 285.2 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01357, allocations: 7.969 kB / 285.2 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01357, allocations: 4 kB / 285.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01357, allocations: 0 / 285.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.01401, allocations: 479.6 kB / 285.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01401, allocations: 0 / 285.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.393e-05/0.0141, allocations: 35.97 kB / 285.7 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.01425, allocations: 67.64 kB / 285.8 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.01426, allocations: 4 kB / 285.8 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009693/0.01523, allocations: 2.087 MB / 287.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01523, allocations: 0 / 287.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.01551, allocations: 366.5 kB / 288.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.01553, allocations: 19.8 kB / 288.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.01555, allocations: 8.078 kB / 288.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.01563, allocations: 12 kB / 288.3 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.01565, allocations: 15.95 kB / 288.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01566, allocations: 11.94 kB / 288.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.326e-05/0.01573, allocations: 184.4 kB / 288.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01573, allocations: 4.031 kB / 288.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.01601, allocations: 71.89 kB / 288.6 MB, free: 1.48 MB / 266.7 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.0001015/0.01611, allocations: 99.25 kB / 288.7 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.01646, allocations: 329.6 kB / 289 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01646, allocations: 0 / 289 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.01659, allocations: 236.3 kB / 289.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01683, allocations: 36.11 kB / 289.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.01792, allocations: 0.6589 MB / 289.9 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.117e-05/0.01799, allocations: 88.38 kB / 290 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.145e-05/0.01804, allocations: 13.95 kB / 290 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/0.01814, allocations: 110.2 kB / 290.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01814, allocations: 0 / 290.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of Templates: time 0.005211/0.02335, allocations: 2.911 MB / 293 MB, free: 12.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.819501721765846]