Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2886, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004376/0.293, allocations: 2.94 MB / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2943, allocations: 0.7128 MB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.2944, allocations: 11.94 kB / 435.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.2946, allocations: 59.42 kB / 435.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.2948, allocations: 87.2 kB / 435.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.2951, allocations: 95.75 kB / 436 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.2955, allocations: 374.5 kB / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.2957, allocations: 109.4 kB / 436.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.296, allocations: 147.5 kB / 436.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.2962, allocations: 159.2 kB / 436.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.2962, allocations: 32 kB / 436.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.2963, allocations: 32 kB / 436.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.2964, allocations: 75.77 kB / 436.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.2965, allocations: 167.2 kB / 437 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.297, allocations: 379.9 kB / 437.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.297, allocations: 0 / 437.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.297, allocations: 0 / 437.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.297, allocations: 0 / 437.4 MB, free: 2.004 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001009/0.298, allocations: 0.6235 MB / 438 MB, free: 1.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.298, allocations: 8.031 kB / 438 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.2981, allocations: 40.7 kB / 438.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.2985, allocations: 260.3 kB / 438.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.2985, allocations: 21.03 kB / 438.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.2986, allocations: 36.38 kB / 438.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.2991, allocations: 282.3 kB / 438.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2991, allocations: 0 / 438.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.2991, allocations: 20 kB / 438.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2992, allocations: 8 kB / 438.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.2996, allocations: 198.5 kB / 438.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.3011, allocations: 0.9755 MB / 439.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.3015, allocations: 154.6 kB / 440 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3016, allocations: 75.62 kB / 440.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3017, allocations: 8 kB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.3017, allocations: 30.56 kB / 440.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.3017, allocations: 0 / 440.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000569/0.3023, allocations: 221.6 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3023, allocations: 59.39 kB / 440.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.3025, allocations: 206.8 kB / 440.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3026, allocations: 33.64 kB / 440.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.3027, allocations: 192.4 kB / 440.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.3028, allocations: 71.38 kB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.3028, allocations: 45.7 kB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.303, allocations: 326.8 kB / 441.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3032, allocations: 67.95 kB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3034, allocations: 118 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.3037, allocations: 181.8 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3037, allocations: 4 kB / 441.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004932/0.3042, allocations: 249.2 kB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3042, allocations: 8 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3042, allocations: 0 / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3042, allocations: 4 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.3045, allocations: 63.91 kB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3045, allocations: 11.97 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.3047, allocations: 23.83 kB / 442 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3047, allocations: 4 kB / 442 MB, free: 13.15 MB / 350.1 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.3048, allocations: 145.8 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.3049, allocations: 31.84 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.3053, allocations: 190.6 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3053, allocations: 4 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3053, allocations: 4 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3053, allocations: 3.984 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.3057, allocations: 325.3 kB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3057, allocations: 4 kB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.3059, allocations: 51.95 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3059, allocations: 4 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.306, allocations: 4 kB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.306, allocations: 0 / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.306, allocations: 3.938 kB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.3065, allocations: 347.2 kB / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.3066, allocations: 105 kB / 443.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.3066, allocations: 0 / 443.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3068, allocations: 15.98 kB / 443.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.3069, allocations: 15.97 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3069, allocations: 8 kB / 443.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.307, allocations: 144.6 kB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.307, allocations: 0 / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.3073, allocations: 79.78 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001206/0.3074, allocations: 107.2 kB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.3078, allocations: 147.9 kB / 443.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3079, allocations: 0 / 443.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.308, allocations: 75.77 kB / 443.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3083, allocations: 40.12 kB / 443.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3097, allocations: 0.8703 MB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.3101, allocations: 0.7635 MB / 445.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.3102, allocations: 23.42 kB / 445.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3102, allocations: 3.938 kB / 445.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of Templates: time 0.005102/0.3153, allocations: 2.916 MB / 448.4 MB, free: 6.594 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.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: 7.086273357737809]