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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 148.2 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9671/0.9671, allocations: 173.3 MB / 201.4 MB, free: 9.227 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.373e-05, allocations: 2.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.008294/0.008318, allocations: 2.685 MB / 271.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007128/0.01545, allocations: 0.6505 MB / 271.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.01559, allocations: 7.938 kB / 271.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.01573, allocations: 47.58 kB / 271.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.0159, allocations: 91.12 kB / 271.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.01615, allocations: 103.7 kB / 272 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.01645, allocations: 350.3 kB / 272.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.01662, allocations: 74.05 kB / 272.4 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.01687, allocations: 191.6 kB / 272.6 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.017, allocations: 107.7 kB / 272.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.01704, allocations: 24 kB / 272.8 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.893e-05/0.01708, allocations: 28 kB / 272.8 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.01713, allocations: 63.75 kB / 272.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.545e-05/0.01721, allocations: 103.8 kB / 273 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.01745, allocations: 219.1 kB / 273.2 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01745, allocations: 0 / 273.2 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01746, allocations: 0 / 273.2 MB, free: 1.422 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.01746, allocations: 0 / 273.2 MB, free: 1.422 MB / 250.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.00177/0.01923, allocations: 0.6129 MB / 273.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.01927, allocations: 16.03 kB / 273.8 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/0.01935, allocations: 48.75 kB / 273.8 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.01957, allocations: 208.1 kB / 274 MB, free: 488 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.01958, allocations: 20.88 kB / 274.1 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.01961, allocations: 20.38 kB / 274.1 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.01988, allocations: 306.7 kB / 274.4 MB, free: 104 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.01989, allocations: 4.188 kB / 274.4 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.0199, allocations: 8.375 kB / 274.4 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.01992, allocations: 11.94 kB / 274.4 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.02004, allocations: 83.42 kB / 274.5 MB, free: 0 / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.0211, allocations: 0.8943 MB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.02133, allocations: 126.9 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.02152, allocations: 111.6 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.02154, allocations: 8 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.02157, allocations: 37.39 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.02157, allocations: 0 / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007229/0.02229, allocations: 299.8 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.02233, allocations: 55.41 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.02249, allocations: 265.2 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.02251, allocations: 33.7 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.02263, allocations: 218.9 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.02266, allocations: 71.41 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.02272, allocations: 51.34 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.02284, allocations: 0.5039 MB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-05/0.02289, allocations: 23.98 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.02297, allocations: 117.4 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.02309, allocations: 140.4 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02309, allocations: 0 / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002757/0.02337, allocations: 236.8 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.02338, allocations: 8 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.02339, allocations: 3.984 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.02362, allocations: 71.8 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.02372, allocations: 55.91 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.02491, allocations: 2.134 MB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.589e-05/0.025, allocations: 23.83 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.02501, allocations: 16.03 kB / 280 MB, free: 10.19 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.121e-05/0.0251, allocations: 176.4 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.02513, allocations: 23.86 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.02516, allocations: 25.8 kB / 280.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.02516, allocations: 7.938 kB / 280.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.02516, allocations: 0 / 280.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.02516, allocations: 0 / 280.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.0256, allocations: 477.3 kB / 280.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.0256, allocations: 0 / 280.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.02569, allocations: 35.92 kB / 280.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.02585, allocations: 79.69 kB / 280.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.02586, allocations: 4 kB / 280.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009485/0.02681, allocations: 2.087 MB / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02681, allocations: 0 / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.02711, allocations: 357.7 kB / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.02713, allocations: 19.84 kB / 283.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.02714, allocations: 4 kB / 283.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.02723, allocations: 24.05 kB / 283.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.02725, allocations: 16 kB / 283.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.02726, allocations: 4 kB / 283.3 MB, free: 6.684 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.02734, allocations: 180.4 kB / 283.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02734, allocations: 0 / 283.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.02763, allocations: 75.84 kB / 283.5 MB, free: 6.434 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.0001177/0.02774, allocations: 103.2 kB / 283.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.02809, allocations: 328 kB / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02809, allocations: 0 / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.02823, allocations: 237.3 kB / 284.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.02847, allocations: 36.55 kB / 284.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.02956, allocations: 0.6651 MB / 284.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.379e-05/0.02961, allocations: 84.31 kB / 285 MB, free: 4.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.02967, allocations: 21.94 kB / 285 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.02977, allocations: 114.2 kB / 285.1 MB, free: 4.77 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02977, allocations: 0 / 285.1 MB, free: 4.77 MB / 266.7 MB Notification: Performance of Templates: time 0.004852/0.03463, allocations: 2.899 MB / 288 MB, free: 1.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",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.856976908631623]