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.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.000807/0.000807, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008678/0.0008678, allocations: 160.7 kB / 25.45 MB, free: 8.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9163/0.9163, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.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=999,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=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.149e-05, allocations: 2.281 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003124/0.003155, allocations: 2.501 MB / 302.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004261, allocations: 0.6786 MB / 302.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.004402, allocations: 8 kB / 302.9 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.004539, allocations: 39.58 kB / 303 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.004693, allocations: 95.12 kB / 303.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.004949, allocations: 91.75 kB / 303.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.005241, allocations: 354.3 kB / 303.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.005422, allocations: 82.02 kB / 303.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.005663, allocations: 191.6 kB / 303.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.005786, allocations: 107.7 kB / 303.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.00583, allocations: 28 kB / 303.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.034e-05/0.00586, allocations: 28 kB / 303.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.005901, allocations: 71.67 kB / 304 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.005976, allocations: 103.7 kB / 304.1 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.006262, allocations: 315 kB / 304.4 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.006268, allocations: 3.984 kB / 304.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006269, allocations: 3.938 kB / 304.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.006275, allocations: 4 kB / 304.4 MB, free: 2.191 MB / 282.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.0008627/0.007138, allocations: 0.5247 MB / 304.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.007184, allocations: 15.98 kB / 304.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.007251, allocations: 32.75 kB / 305 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.007598, allocations: 197.3 kB / 305.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.007616, allocations: 20.88 kB / 305.2 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.007654, allocations: 28.31 kB / 305.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.008023, allocations: 317.7 kB / 305.5 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.008034, allocations: 192 / 305.5 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.008055, allocations: 12.38 kB / 305.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.008064, allocations: 11.94 kB / 305.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.008355, allocations: 217.9 kB / 305.8 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009526/0.009307, allocations: 0.7783 MB / 306.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.009615, allocations: 178.2 kB / 306.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.009839, allocations: 136.8 kB / 306.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.00986, allocations: 4 kB / 306.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.009885, allocations: 38.81 kB / 306.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.009887, allocations: 0 / 306.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008906/0.01078, allocations: 465.9 kB / 307.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.01082, allocations: 55.39 kB / 307.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.01098, allocations: 219 kB / 307.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.011, allocations: 29.7 kB / 307.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.01108, allocations: 180.1 kB / 307.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.01112, allocations: 67.41 kB / 307.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.01117, allocations: 49.7 kB / 307.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.01127, allocations: 326.8 kB / 308.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.01137, allocations: 68.81 kB / 308.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.01148, allocations: 125.9 kB / 308.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.01168, allocations: 193.6 kB / 308.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01168, allocations: 0 / 308.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004125/0.01209, allocations: 333.9 kB / 309 MB, free: 13.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01211, allocations: 8 kB / 309 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.01211, allocations: 192 / 309 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.0124, allocations: 112.7 kB / 309.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.0125, allocations: 51.91 kB / 309.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.01388, allocations: 1.785 MB / 310.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.01397, allocations: 20.08 kB / 310.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01398, allocations: 15.98 kB / 311 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001153/0.0141, allocations: 152.1 kB / 311.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.371e-05/0.01418, allocations: 113.9 kB / 311.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001459/0.01433, allocations: 170 kB / 311.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.01433, allocations: 0 / 311.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002524/0.01458, allocations: 258.1 kB / 311.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.01459, allocations: 10.66 kB / 311.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.01459, allocations: 0 / 311.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.48e-05/0.01468, allocations: 44.83 kB / 311.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.01477, allocations: 47.91 kB / 311.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008112/0.01558, allocations: 1.594 MB / 313.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.01565, allocations: 15.89 kB / 313.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01566, allocations: 4 kB / 313.3 MB, free: 8.73 MB / 298.7 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 8.914e-05/0.01575, allocations: 200.1 kB / 313.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.01577, allocations: 15.91 kB / 313.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.0158, allocations: 25.8 kB / 313.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.0158, allocations: 4 kB / 313.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.0158, allocations: 192 / 313.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.0158, allocations: 4 kB / 313.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.01634, allocations: 0.5263 MB / 314.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.01634, allocations: 0 / 314.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/0.01642, allocations: 35.92 kB / 314.2 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.01656, allocations: 68.75 kB / 314.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01657, allocations: 7.984 kB / 314.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.01767, allocations: 1.727 MB / 316 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01767, allocations: 4.219 kB / 316 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.01806, allocations: 412.6 kB / 316.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.01808, allocations: 27.78 kB / 316.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.01809, allocations: 4 kB / 316.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.01819, allocations: 19.98 kB / 316.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.01821, allocations: 7.984 kB / 316.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.01822, allocations: 4 kB / 316.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.15e-05/0.01831, allocations: 164.4 kB / 316.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01831, allocations: 0 / 316.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.01871, allocations: 135.7 kB / 316.7 MB, free: 5.184 MB / 298.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001155/0.01882, allocations: 95.25 kB / 316.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006054/0.01943, allocations: 0.5306 MB / 317.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01943, allocations: 0 / 317.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.01959, allocations: 206.6 kB / 317.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.01985, allocations: 36.67 kB / 317.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.02088, allocations: 0.7112 MB / 318.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.562e-05/0.02098, allocations: 142.5 kB / 318.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.02102, allocations: 20.44 kB / 318.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02102, allocations: 0 / 318.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of Templates: time 0.004345/0.02536, allocations: 3.793 MB / 322.2 MB, free: 15.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.374477064236999]