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.001815/0.001815, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001955/0.001955, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 1.843e-06/1.843e-06, allocations: 0 / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.527e-05, allocations: 2.312 kB / 272.4 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005/0.005035, allocations: 2.685 MB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.006672, allocations: 0.6777 MB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.006822, allocations: 7.938 kB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.00702, allocations: 47.56 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.007254, allocations: 91.12 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.007551, allocations: 91.88 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.008013, allocations: 346.4 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.008257, allocations: 78.03 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.008698, allocations: 203.5 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.008893, allocations: 99.69 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.008952, allocations: 28 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.00901, allocations: 28 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.0091, allocations: 63.75 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.009246, allocations: 107.7 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.009703, allocations: 323 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.009708, allocations: 4 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.009709, allocations: 0 / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.00972, allocations: 3.984 kB / 277.2 MB, free: 12.88 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.001216/0.01094, allocations: 0.6205 MB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.01099, allocations: 11.97 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.01113, allocations: 52.75 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.01154, allocations: 220.1 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.01158, allocations: 20.88 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.01163, allocations: 24.38 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.0123, allocations: 358 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.01232, allocations: 4.188 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.01235, allocations: 12.38 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.01237, allocations: 7.938 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.01281, allocations: 185.9 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.01473, allocations: 1.023 MB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.01528, allocations: 175 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.01571, allocations: 139.6 kB / 280.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.01574, allocations: 7.938 kB / 280.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.01578, allocations: 41.64 kB / 280.1 MB, free: 9.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.01578, allocations: 0 / 280.1 MB, free: 9.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001726/0.01751, allocations: 390.6 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.01756, allocations: 55.39 kB / 280.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.01791, allocations: 293.6 kB / 280.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.01794, allocations: 33.7 kB / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.01812, allocations: 234.8 kB / 281.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/0.01819, allocations: 67.42 kB / 281.2 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.01829, allocations: 55.38 kB / 281.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002951/0.01859, allocations: 0.5117 MB / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.01875, allocations: 63.97 kB / 281.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.01901, allocations: 149.5 kB / 281.9 MB, free: 7.887 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.01945, allocations: 220.6 kB / 282.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01945, allocations: 3.938 kB / 282.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008129/0.02026, allocations: 328.8 kB / 282.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.02029, allocations: 8 kB / 282.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.0203, allocations: 0 / 282.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.02091, allocations: 103.7 kB / 282.6 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.02113, allocations: 51.92 kB / 282.6 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.02439, allocations: 2.348 MB / 285 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.02458, allocations: 31.84 kB / 285 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.0246, allocations: 8 kB / 285 MB, free: 4.633 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 0.0002079/0.02481, allocations: 184.5 kB / 285.2 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.02491, allocations: 27.8 kB / 285.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.02497, allocations: 29.8 kB / 285.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.02497, allocations: 0 / 285.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.02498, allocations: 0 / 285.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.02498, allocations: 0 / 285.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.02613, allocations: 0.605 MB / 285.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02613, allocations: 48 / 285.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.0263, allocations: 35.97 kB / 285.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/0.02676, allocations: 103.7 kB / 286 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.02678, allocations: 4 kB / 286 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.02967, allocations: 2.301 MB / 288.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02967, allocations: 0 / 288.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.03054, allocations: 471.2 kB / 288.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.03062, allocations: 31.78 kB / 288.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.03066, allocations: 7.938 kB / 288.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.03085, allocations: 12 kB / 288.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.0309, allocations: 15.97 kB / 288.8 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.03091, allocations: 8.031 kB / 288.8 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002025/0.03111, allocations: 204.5 kB / 289 MB, free: 420 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03111, allocations: 0 / 289 MB, free: 420 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000456/0.03157, allocations: 71.89 kB / 289.1 MB, free: 348 kB / 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.000185/0.03175, allocations: 99.25 kB / 289.2 MB, free: 240 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009458/0.0327, allocations: 405.4 kB / 289.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.0327, allocations: 0 / 289.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.03307, allocations: 265.4 kB / 289.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.03346, allocations: 45.75 kB / 289.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.0354, allocations: 0.6669 MB / 290.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.03557, allocations: 142 kB / 290.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.166e-05/0.03566, allocations: 25.92 kB / 290.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.03572, allocations: 20.5 kB / 290.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03572, allocations: 0 / 290.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of Templates: time 0.00775/0.04347, allocations: 2.739 MB / 293.5 MB, free: 11.9 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.548402018961497]