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.001791/0.001791, allocations: 108.4 kB / 21.17 MB, free: 0.7617 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.002391/0.002391, allocations: 213 kB / 24.46 MB, free: 4.195 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.583/1.583, allocations: 230.5 MB / 258.1 MB, free: 8.113 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.002098/0.002098, allocations: 79.77 kB / 378.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2783, allocations: 53.3 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.005474/0.2838, allocations: 2.953 MB / 435 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.2852, allocations: 0.7089 MB / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.2854, allocations: 7.938 kB / 435.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.2856, allocations: 63.42 kB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.2858, allocations: 83.2 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.2861, allocations: 99.75 kB / 436 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.2865, allocations: 374.5 kB / 436.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.2868, allocations: 105.4 kB / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.2871, allocations: 151.5 kB / 436.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.2874, allocations: 167.2 kB / 436.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.2874, allocations: 32 kB / 436.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-05/0.2875, allocations: 32 kB / 436.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.2875, allocations: 71.77 kB / 436.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.2877, allocations: 167.2 kB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.2882, allocations: 376 kB / 437.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2882, allocations: 0 / 437.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.479e-06/0.2882, allocations: 4 kB / 437.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.2882, allocations: 0 / 437.4 MB, free: 1.992 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.001132/0.2893, allocations: 0.6157 MB / 438 MB, free: 1.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.2894, allocations: 12.03 kB / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.2895, allocations: 36.7 kB / 438.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.29, allocations: 268.3 kB / 438.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.29, allocations: 21.03 kB / 438.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.2901, allocations: 40.3 kB / 438.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.2907, allocations: 282.3 kB / 438.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2907, allocations: 0 / 438.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.2908, allocations: 16 kB / 438.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.2908, allocations: 8 kB / 438.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.2913, allocations: 198.5 kB / 438.9 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.2929, allocations: 0.9756 MB / 439.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.2933, allocations: 162.5 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.2934, allocations: 72.81 kB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2935, allocations: 4 kB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.2935, allocations: 34.56 kB / 440.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.2935, allocations: 0 / 440.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006058/0.2941, allocations: 217.6 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.2942, allocations: 55.41 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.2944, allocations: 214.8 kB / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.2944, allocations: 25.7 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2946, allocations: 188.4 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.2946, allocations: 71.38 kB / 440.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.2947, allocations: 49.7 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2949, allocations: 326.8 kB / 441.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.295, allocations: 67.95 kB / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.2953, allocations: 114 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.2956, allocations: 193.6 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2956, allocations: 0 / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004892/0.2961, allocations: 249.2 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2961, allocations: 4 kB / 441.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2961, allocations: 4 kB / 441.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2962, allocations: 0 / 441.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.2964, allocations: 67.89 kB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2965, allocations: 4 kB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.2966, allocations: 23.95 kB / 442 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2966, allocations: 12 kB / 442 MB, free: 13.13 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.0001559/0.2968, allocations: 145.7 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.2968, allocations: 23.91 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.2973, allocations: 194.6 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.2973, allocations: 3.984 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2973, allocations: 0 / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2973, allocations: 0 / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.2977, allocations: 329.3 kB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2977, allocations: 3.984 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.298, allocations: 47.97 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.298, allocations: 0 / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.298, allocations: 8 kB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2981, allocations: 3.938 kB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2981, allocations: 0 / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.2987, allocations: 351.1 kB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.2988, allocations: 101 kB / 443.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.2988, allocations: 7.984 kB / 443.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.299, allocations: 15.98 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.2991, allocations: 7.984 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2991, allocations: 8 kB / 443.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.2992, allocations: 152.6 kB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2992, allocations: 0 / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.2996, allocations: 75.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.0001529/0.2997, allocations: 107.3 kB / 443.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004306/0.3001, allocations: 155.8 kB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3001, allocations: 256 / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.3003, allocations: 71.91 kB / 443.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3007, allocations: 40 kB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3022, allocations: 0.847 MB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.3027, allocations: 0.7635 MB / 445.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.452e-05/0.3028, allocations: 17.94 kB / 445.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.3028, allocations: 19.44 kB / 445.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3028, allocations: 4 kB / 445.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of Templates: time 0.005927/0.3087, allocations: 2.107 MB / 447.5 MB, free: 7.422 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 -s cvode -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: 4.794735244940966]