Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001266/0.001266, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001386/0.001386, allocations: 209.9 kB / 24.49 MB, free: 4.145 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 1.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 51.94 kB / 379 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2081, allocations: 53.35 MB / 432.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009421/0.2175, allocations: 7.858 MB / 440.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004912/0.2224, allocations: 2.738 MB / 443 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008054/0.2232, allocations: 91.38 kB / 443.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.2245, allocations: 0.5913 MB / 443.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.2263, allocations: 0.7614 MB / 444.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.2271, allocations: 435.3 kB / 444.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003533/0.2307, allocations: 3.288 MB / 448.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.2331, allocations: 2.007 MB / 450.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.236, allocations: 1.706 MB / 451.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002995/0.239, allocations: 2.083 MB / 453.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006444/0.2396, allocations: 460 kB / 454.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.2409, allocations: 0.7182 MB / 455.1 MB, free: 52 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.2421, allocations: 1.27 MB / 456.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002243/0.2443, allocations: 1.96 MB / 458.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006294/0.2506, allocations: 6.131 MB / 464.5 MB, free: 6.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2506, allocations: 3.938 kB / 464.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2506, allocations: 0 / 464.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.2507, allocations: 0 / 464.5 MB, free: 6.656 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007894/0.2586, allocations: 3.813 MB / 468.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2587, allocations: 8.031 kB / 468.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.26, allocations: 454.4 kB / 468.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.264, allocations: 2.115 MB / 470.9 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.2642, allocations: 225.9 kB / 471.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.2647, allocations: 283.9 kB / 471.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007005/0.2717, allocations: 4.198 MB / 475.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.044e-05/0.2717, allocations: 0 / 475.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.272, allocations: 120 kB / 475.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/0.2722, allocations: 145.8 kB / 475.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006029/0.2782, allocations: 3.49 MB / 479.3 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/0.2973, allocations: 10.67 MB / 490 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.2998, allocations: 1.647 MB / 491.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/0.3023, allocations: 1.403 MB / 493 MB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.3025, allocations: 52.95 kB / 493.1 MB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3025, allocations: 47.56 kB / 493.1 MB, free: 9.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.467e-06/0.3025, allocations: 0 / 493.1 MB, free: 9.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009322/0.3119, allocations: 5.128 MB / 498.2 MB, free: 4.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.3119, allocations: 90.42 kB / 498.3 MB, free: 4.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.3147, allocations: 1.922 MB / 0.4885 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.3148, allocations: 45.7 kB / 0.4886 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.3159, allocations: 1.365 MB / 0.4899 GB, free: 1.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.3163, allocations: 475.9 kB / 0.4904 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000438/0.3168, allocations: 275.5 kB / 0.4906 GB, free: 280 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3169, allocations: 305.1 kB / 0.4909 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.3182, allocations: 0.8198 MB / 0.4917 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.3198, allocations: 1.186 MB / 0.4929 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/0.3227, allocations: 2.078 MB / 0.4949 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.3227, allocations: 4 kB / 0.4949 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004309/0.327, allocations: 2.524 MB / 0.4974 GB, free: 9.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.327, allocations: 12 kB / 0.4974 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.327, allocations: 12 kB / 0.4974 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.3289, allocations: 483.1 kB / 0.4979 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.3302, allocations: 331.5 kB / 0.4982 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005733/0.336, allocations: 4.301 MB / 0.5024 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.3374, allocations: 83.92 kB / 0.5025 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.3376, allocations: 59.98 kB / 0.5025 GB, free: 3.695 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001802/0.3394, allocations: 1.066 MB / 0.5035 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.3399, allocations: 198.7 kB / 0.5037 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.3436, allocations: 2.129 MB / 0.5058 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/0.3437, allocations: 16 kB / 0.5058 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3437, allocations: 4 kB / 0.5058 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.3437, allocations: 7.969 kB / 0.5058 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009342/0.353, allocations: 5.146 MB / 0.5109 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.353, allocations: 4 kB / 0.5109 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009989/0.354, allocations: 227.9 kB / 0.5111 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.3559, allocations: 468.7 kB / 0.5115 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/0.356, allocations: 39.91 kB / 0.5116 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005575/0.3616, allocations: 4.196 MB / 0.5157 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3616, allocations: 4.031 kB / 0.5157 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.3669, allocations: 3.256 MB / 0.5189 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.3681, allocations: 394.7 kB / 0.5192 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.3684, allocations: 28 kB / 0.5193 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/0.3694, allocations: 91.91 kB / 0.5193 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.3696, allocations: 108.7 kB / 0.5195 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.3697, allocations: 39.98 kB / 0.5195 GB, free: 2.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002016/0.3717, allocations: 1.342 MB / 0.5208 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3717, allocations: 0 / 0.5208 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001648/0.3733, allocations: 0.5507 MB / 0.5213 GB, free: 148 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].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 (104): * Single equations (assignments): 99 * Array equations: 4 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005794/0.3739, allocations: 228.5 kB / 0.5216 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003645/0.3776, allocations: 2.122 MB / 0.5236 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.3776, allocations: 7.938 kB / 0.5236 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.3795, allocations: 1.156 MB / 0.5248 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.3818, allocations: 0.5123 MB / 0.5253 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.3921, allocations: 5.818 MB / 0.5309 GB, free: 6.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/0.3945, allocations: 2.367 MB / 0.5333 GB, free: 3.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.3952, allocations: 143.4 kB / 0.5334 GB, free: 3.68 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3952, allocations: 0 / 0.5334 GB, free: 3.68 MB / 446.1 MB Notification: Performance of Templates: time 0.2299/0.625, allocations: 51.46 MB / 0.5836 GB, free: 61.43 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: 12.31800357089378]