Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.001086/0.001086, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001152/0.001152, allocations: 170.5 kB / 24.91 MB, free: 9.211 MB / 18.57 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 273.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.4e-05, allocations: 2.312 kB / 273.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01052/0.01055, allocations: 12.5 MB / 286 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008457/0.019, allocations: 4.345 MB / 290.4 MB, free: 280 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.0214, allocations: 107.3 kB / 290.5 MB, free: 172 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1368/0.1582, allocations: 0.984 MB / 291.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.1623, allocations: 1.293 MB / 292.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.1635, allocations: 0.5332 MB / 293.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005651/0.1691, allocations: 4.818 MB / 298.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.1721, allocations: 2.069 MB / 300.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006133/0.1782, allocations: 3.36 MB / 303.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.1821, allocations: 2.442 MB / 306 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.1835, allocations: 0.5428 MB / 306.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.1848, allocations: 0.647 MB / 307.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008579/0.1857, allocations: 1.568 MB / 308.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.1879, allocations: 1.724 MB / 310.5 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.1915, allocations: 4.029 MB / 314.5 MB, free: 5.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1915, allocations: 4 kB / 314.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1915, allocations: 0 / 314.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.1916, allocations: 0 / 314.5 MB, free: 5.621 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004539/0.1961, allocations: 4.405 MB / 318.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1962, allocations: 8.031 kB / 318.9 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.1972, allocations: 0.6886 MB / 319.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.1992, allocations: 1.643 MB / 321.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.1994, allocations: 266 kB / 321.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.1997, allocations: 363.3 kB / 321.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.2027, allocations: 2.854 MB / 324.7 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.276e-05/0.2028, allocations: 7 kB / 324.7 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.203, allocations: 144.6 kB / 324.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.2031, allocations: 179.1 kB / 325 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.2049, allocations: 1.072 MB / 326.1 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.2158, allocations: 9.129 MB / 335.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.2171, allocations: 1.361 MB / 336.6 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008981/0.218, allocations: 0.7713 MB / 337.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.2182, allocations: 65.97 kB / 337.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.2182, allocations: 52.56 kB / 337.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 2.945e-06/0.2182, allocations: 0 / 337.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.006912/0.2251, allocations: 3.984 MB / 341.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.2251, allocations: 81.39 kB / 341.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.2266, allocations: 1.514 MB / 343.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.2267, allocations: 61.7 kB / 343.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006419/0.2273, allocations: 1.351 MB / 344.5 MB, free: 8.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000469/0.2278, allocations: 0.7634 MB / 345.2 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005214/0.2283, allocations: 390.7 kB / 345.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.2284, allocations: 301.1 kB / 345.9 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.2289, allocations: 287.8 kB / 346.2 MB, free: 7.207 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.2295, allocations: 0.7262 MB / 346.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.231, allocations: 1.284 MB / 348.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.231, allocations: 4 kB / 348.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002344/0.2333, allocations: 1.53 MB / 349.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2334, allocations: 15.94 kB / 349.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.2334, allocations: 12 kB / 349.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.2348, allocations: 0.5743 MB / 350.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.2365, allocations: 0.5945 MB / 350.9 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.241, allocations: 5.713 MB / 356.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.2419, allocations: 71.92 kB / 356.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.2421, allocations: 75.98 kB / 356.8 MB, free: 12.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007424/0.2428, allocations: 248.1 kB / 357 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.2432, allocations: 239.6 kB / 357.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.2455, allocations: 1.416 MB / 358.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.2455, allocations: 20 kB / 358.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.2455, allocations: 8 kB / 358.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.2455, allocations: 11.95 kB / 358.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.2508, allocations: 3.444 MB / 362.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2508, allocations: 0 / 362.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.2522, allocations: 0.5227 MB / 362.7 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.2537, allocations: 0.6027 MB / 363.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.2538, allocations: 55.97 kB / 363.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005105/0.2589, allocations: 6.937 MB / 370.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2589, allocations: 11.28 kB / 370.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.2614, allocations: 1.953 MB / 372.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/0.262, allocations: 325.7 kB / 372.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.2622, allocations: 51.92 kB / 372.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/0.2628, allocations: 83.95 kB / 372.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.2631, allocations: 169.4 kB / 372.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.2631, allocations: 47.98 kB / 372.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009682/0.2641, allocations: 0.7679 MB / 373.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2641, allocations: 0 / 373.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001731/0.2658, allocations: 0.789 MB / 374.5 MB, free: 10.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004122/0.2663, allocations: 225.8 kB / 374.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.2682, allocations: 1.718 MB / 376.4 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.061e-05/0.2683, allocations: 30 kB / 376.4 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.2699, allocations: 1.348 MB / 377.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.2719, allocations: 0.6499 MB / 378.4 MB, free: 6.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.2829, allocations: 6.161 MB / 384.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.2841, allocations: 0.8696 MB / 385.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001063/0.2851, allocations: 313.1 kB / 385.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.2863, allocations: 0.6201 MB / 386.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.011e-06/0.2863, allocations: 0 / 386.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of Templates: time 0.05194/0.3382, allocations: 42.49 MB / 428.9 MB, free: 4.91 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","",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.890210546087474]