Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 154.5 kB / 25.59 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8967/0.8967, allocations: 173.4 MB / 202.2 MB, free: 8.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.308e-05, allocations: 2.312 kB / 269.2 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.009967/0.00998, allocations: 12.41 MB / 281.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006498/0.01648, allocations: 4.111 MB / 285.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009952/0.01747, allocations: 103.3 kB / 285.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.01901, allocations: 0.9744 MB / 286.8 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.02097, allocations: 1.292 MB / 288.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007038/0.02167, allocations: 0.5187 MB / 288.6 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003339/0.02501, allocations: 4.799 MB / 293.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.0268, allocations: 2.023 MB / 295.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003698/0.03049, allocations: 3.36 MB / 298.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.03247, allocations: 2.459 MB / 301.3 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004228/0.0329, allocations: 0.543 MB / 301.8 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006599/0.03356, allocations: 0.6249 MB / 302.5 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008584/0.03442, allocations: 1.574 MB / 304 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.03568, allocations: 1.723 MB / 305.7 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.03876, allocations: 4.015 MB / 309.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.03877, allocations: 0 / 309.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.03877, allocations: 0 / 309.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.03879, allocations: 0 / 309.8 MB, free: 1.066 MB / 282.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.004579/0.04337, allocations: 4.787 MB / 314.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.0434, allocations: 8.031 kB / 314.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.04449, allocations: 0.8182 MB / 315.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.04654, allocations: 2.196 MB / 317.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.04666, allocations: 267.4 kB / 317.8 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.04699, allocations: 356.3 kB / 318.2 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.04975, allocations: 2.814 MB / 321 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.04981, allocations: 11.83 kB / 321 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.05002, allocations: 148 kB / 321.2 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.05014, allocations: 183 kB / 321.3 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.05161, allocations: 1.032 MB / 322.4 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.06679, allocations: 11.6 MB / 334 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.06839, allocations: 1.389 MB / 335.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.06949, allocations: 0.8534 MB / 336.2 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.06966, allocations: 53.98 kB / 336.3 MB, free: 5.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.0697, allocations: 71.33 kB / 336.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.058e-06/0.0697, allocations: 0 / 336.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.008159/0.07786, allocations: 4.064 MB / 340.4 MB, free: 1.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.0779, allocations: 73.41 kB / 340.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1051/0.183, allocations: 1.814 MB / 342.3 MB, free: 68.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004023/0.1834, allocations: 63.83 kB / 342.3 MB, free: 68.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.1847, allocations: 1.784 MB / 344.1 MB, free: 67.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005615/0.1853, allocations: 0.7928 MB / 344.9 MB, free: 67.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005232/0.1858, allocations: 449.8 kB / 345.4 MB, free: 67.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.1859, allocations: 479.3 kB / 345.8 MB, free: 66.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/0.1864, allocations: 285.6 kB / 346.1 MB, free: 66.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007769/0.1872, allocations: 0.9645 MB / 347.1 MB, free: 66.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.1887, allocations: 1.455 MB / 348.5 MB, free: 65.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.1887, allocations: 4.094 kB / 348.5 MB, free: 65.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002779/0.1915, allocations: 1.899 MB / 350.4 MB, free: 65.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.1915, allocations: 10.72 kB / 350.4 MB, free: 65.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.1915, allocations: 17.28 kB / 350.5 MB, free: 65.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.1929, allocations: 0.5913 MB / 351 MB, free: 65.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.194, allocations: 0.4899 MB / 351.5 MB, free: 65.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00404/0.198, allocations: 7.559 MB / 359.1 MB, free: 59.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/0.1989, allocations: 75.27 kB / 359.2 MB, free: 59.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.962e-05/0.199, allocations: 69.88 kB / 359.2 MB, free: 59.43 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.0006376/0.1997, allocations: 297 kB / 359.5 MB, free: 59.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.2, allocations: 342.7 kB / 359.9 MB, free: 59.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.202, allocations: 1.66 MB / 361.5 MB, free: 58.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.202, allocations: 24.66 kB / 361.5 MB, free: 58.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.202, allocations: 7.438 kB / 361.6 MB, free: 58.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.202, allocations: 11.06 kB / 361.6 MB, free: 58.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/0.2067, allocations: 4.087 MB / 365.6 MB, free: 57.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2067, allocations: 4 kB / 365.7 MB, free: 57.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/0.2077, allocations: 358.8 kB / 366 MB, free: 56.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.2094, allocations: 0.6386 MB / 366.6 MB, free: 56.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.2095, allocations: 60.14 kB / 366.7 MB, free: 56.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004738/0.2143, allocations: 9.228 MB / 375.9 MB, free: 46.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2143, allocations: 3.938 kB / 375.9 MB, free: 46.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.2173, allocations: 2.298 MB / 378.2 MB, free: 44.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007086/0.218, allocations: 455.8 kB / 378.7 MB, free: 44.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/0.2182, allocations: 55.98 kB / 378.7 MB, free: 44.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/0.219, allocations: 79.91 kB / 378.8 MB, free: 44.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.2193, allocations: 165.7 kB / 379 MB, free: 43.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/0.2194, allocations: 43.98 kB / 379 MB, free: 43.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008556/0.2203, allocations: 0.9689 MB / 380 MB, free: 42.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2203, allocations: 0 / 380 MB, free: 42.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001923/0.2222, allocations: 0.7891 MB / 380.8 MB, free: 42.18 MB / 314.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.0004297/0.2226, allocations: 245.7 kB / 381 MB, free: 41.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.225, allocations: 2.01 MB / 383 MB, free: 39.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.225, allocations: 4.875 kB / 383 MB, free: 39.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.2265, allocations: 1.649 MB / 384.7 MB, free: 38.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.2284, allocations: 0.6491 MB / 385.3 MB, free: 37.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/0.2364, allocations: 6.392 MB / 391.7 MB, free: 31.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/0.2372, allocations: 1.022 MB / 392.7 MB, free: 30.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009352/0.2382, allocations: 309 kB / 393 MB, free: 29.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/0.2394, allocations: 0.697 MB / 393.7 MB, free: 29.12 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2394, allocations: 4 kB / 393.7 MB, free: 29.12 MB / 314.7 MB Notification: Performance of Templates: time 0.1053/0.3447, allocations: 43.33 MB / 437.1 MB, free: 2.383 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.908647507894784]