Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001565/0.001565, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002221/0.002221, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.019/2.019, allocations: 230.6 MB / 258.2 MB, free: 7.738 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+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2708, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.006322/0.2771, allocations: 3.402 MB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.2804, allocations: 1.39 MB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.2808, allocations: 8 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.2831, allocations: 0.7 MB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.2844, allocations: 389.6 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.2859, allocations: 0.5123 MB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008766/0.2867, allocations: 462 kB / 439.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/0.2876, allocations: 357.8 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004385/0.2881, allocations: 223.1 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.2885, allocations: 267 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.331e-05/0.2885, allocations: 40 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005874/0.2891, allocations: 211.8 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2892, allocations: 103.6 kB / 440.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.2895, allocations: 191 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.2905, allocations: 0.6927 MB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2905, allocations: 0 / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2905, allocations: 0 / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2905, allocations: 0 / 441.2 MB, free: 13.8 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.002589/0.2931, allocations: 0.8407 MB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2932, allocations: 12.03 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004695/0.2979, allocations: 476.1 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.2985, allocations: 249.8 kB / 442.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.2986, allocations: 45.69 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.2987, allocations: 48.38 kB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3, allocations: 0.5432 MB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.3, allocations: 4 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.3001, allocations: 20 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3001, allocations: 12 kB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3015, allocations: 0.5673 MB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.3052, allocations: 1.504 MB / 445.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.3073, allocations: 0.5712 MB / 446.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.3077, allocations: 182.1 kB / 446.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.3078, allocations: 24.41 kB / 446.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.3078, allocations: 42.94 kB / 446.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.795e-06/0.3078, allocations: 0 / 446.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002494/0.3103, allocations: 0.7065 MB / 447.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.3104, allocations: 55.84 kB / 447.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.3106, allocations: 182.1 kB / 447.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.3107, allocations: 29.7 kB / 447.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3109, allocations: 221 kB / 447.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.311, allocations: 170.5 kB / 447.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.3112, allocations: 86.14 kB / 447.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3114, allocations: 342.8 kB / 448.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.3118, allocations: 152.9 kB / 448.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.3123, allocations: 220.2 kB / 448.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008902/0.3131, allocations: 407.4 kB / 448.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3132, allocations: 0 / 448.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001379/0.3145, allocations: 0.5317 MB / 449.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3146, allocations: 4 kB / 449.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3146, allocations: 4 kB / 449.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/0.315, allocations: 96.89 kB / 449.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.3155, allocations: 91.89 kB / 449.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.3181, allocations: 1.895 MB / 451.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.3185, allocations: 43.72 kB / 451.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.3186, allocations: 20 kB / 451.6 MB, free: 3.098 MB / 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.0002639/0.3188, allocations: 169.7 kB / 451.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.3189, allocations: 27.81 kB / 451.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.3204, allocations: 0.5388 MB / 452.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.3204, allocations: 12 kB / 452.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3204, allocations: 0 / 452.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.3204, allocations: 3.984 kB / 452.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.3226, allocations: 0.9668 MB / 453.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3226, allocations: 3.984 kB / 453.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/0.3231, allocations: 75.91 kB / 453.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000379/0.3235, allocations: 88.8 kB / 453.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.3235, allocations: 16 kB / 453.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.3261, allocations: 1.899 MB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.3261, allocations: 4.031 kB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.328, allocations: 0.7894 MB / 456.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.328, allocations: 31.72 kB / 456.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.3281, allocations: 12 kB / 456.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.3284, allocations: 19.98 kB / 456.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3285, allocations: 40.3 kB / 456.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.3286, allocations: 12 kB / 456.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3287, allocations: 128.1 kB / 456.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3287, allocations: 0 / 456.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008374/0.3295, allocations: 151.7 kB / 456.5 MB, free: 13.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * 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 Backend phase and start with SimCode phase: time 0.0002824/0.3298, allocations: 139.2 kB / 456.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.3312, allocations: 0.5424 MB / 457.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3312, allocations: 0 / 457.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.3319, allocations: 361.4 kB / 457.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.3324, allocations: 26.97 kB / 457.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.3343, allocations: 0.8146 MB / 458.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3345, allocations: 204.8 kB / 458.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.3348, allocations: 46.95 kB / 458.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3349, allocations: 35.61 kB / 458.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3349, allocations: 0 / 458.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.01278/0.3477, allocations: 4.876 MB / 463.6 MB, free: 6.875 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.524145100003807]