Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.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.001262/0.001262, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001303/0.001303, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.381/1.381, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.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.001909/0.001909, allocations: 63.84 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2098, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005233/0.2151, allocations: 3.745 MB / 435.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.2174, allocations: 1.515 MB / 437.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.2176, allocations: 12 kB / 437.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.2193, allocations: 0.7499 MB / 438.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008331/0.2202, allocations: 394 kB / 438.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.2212, allocations: 0.5561 MB / 439 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.2217, allocations: 462 kB / 439.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.2222, allocations: 307.5 kB / 439.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.2226, allocations: 207.1 kB / 440 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.2229, allocations: 267 kB / 440.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.223, allocations: 48 kB / 440.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.2234, allocations: 211.8 kB / 440.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.2234, allocations: 103.6 kB / 440.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.2237, allocations: 238.8 kB / 440.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008249/0.2245, allocations: 0.6811 MB / 441.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2245, allocations: 3.938 kB / 441.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2245, allocations: 0 / 441.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2245, allocations: 0 / 441.5 MB, free: 13.89 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002196/0.2267, allocations: 0.9238 MB / 442.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2267, allocations: 8.031 kB / 442.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/0.2303, allocations: 472.1 kB / 442.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.2308, allocations: 303.7 kB / 443.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.2308, allocations: 45.69 kB / 443.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/0.2309, allocations: 52.38 kB / 443.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.2319, allocations: 0.5181 MB / 443.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.2319, allocations: 0 / 443.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.232, allocations: 20 kB / 443.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.232, allocations: 16 kB / 443.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2331, allocations: 0.5751 MB / 444.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.2361, allocations: 1.949 MB / 446.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.2385, allocations: 2.14 MB / 448.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.2389, allocations: 186.1 kB / 448.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.239, allocations: 178.6 kB / 448.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2391, allocations: 39 kB / 448.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.2391, allocations: 0 / 448.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002034/0.2411, allocations: 0.7857 MB / 449.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2411, allocations: 59.78 kB / 449.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.2413, allocations: 186.8 kB / 449.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.2414, allocations: 37.7 kB / 450 MB, free: 4.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2415, allocations: 225 kB / 450.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.2417, allocations: 166.5 kB / 450.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.2418, allocations: 86.25 kB / 450.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.242, allocations: 338.8 kB / 450.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.2423, allocations: 153 kB / 450.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.2427, allocations: 224.8 kB / 451.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.2434, allocations: 407.4 kB / 451.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2434, allocations: 0 / 451.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001107/0.2445, allocations: 0.5435 MB / 452.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2445, allocations: 4 kB / 452.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2445, allocations: 4 kB / 452.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/0.2449, allocations: 84.81 kB / 452.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.2453, allocations: 95.88 kB / 452.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.2475, allocations: 2.037 MB / 454.3 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.2478, allocations: 47.66 kB / 454.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.2478, allocations: 20 kB / 454.4 MB, free: 88 kB / 350.1 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 (50): * Single equations (assignments): 49 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.248, allocations: 177.6 kB / 454.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.2481, allocations: 31.81 kB / 454.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2492, allocations: 0.5318 MB / 455.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.2492, allocations: 7.984 kB / 455.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2492, allocations: 4 kB / 455.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.2493, allocations: 112.8 kB / 455.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.2494, allocations: 8 kB / 455.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.2496, allocations: 19.92 kB / 455.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.2497, allocations: 40.38 kB / 455.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00128/0.251, allocations: 0.5628 MB / 455.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001175/0.2521, allocations: 0.7326 MB / 456.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003086/0.2525, allocations: 159.3 kB / 456.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.2526, allocations: 135.2 kB / 456.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of Backend: time 2.21e-07/0.2526, allocations: 0 / 456.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.2538, allocations: 0.5616 MB / 457.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 0.001411/0.2553, allocations: 1.216 MB / 458.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01234/0.2676, allocations: 6.657 MB / 465.3 MB, free: 5.023 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.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.229383694007993]