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.0009936/0.0009936, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009487/0.0009487, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.9855/0.9855, allocations: 173.3 MB / 201.1 MB, free: 9.312 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.944e-06/1.944e-06, allocations: 0 / 268 MB, free: 6.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.672e-05, allocations: 2.312 kB / 268 MB, free: 6.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.04419/0.04421, allocations: 12.82 MB / 280.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.06351, allocations: 4.144 MB / 285 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007237/0.07075, allocations: 95.38 kB / 285.1 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.07274, allocations: 0.9821 MB / 286.1 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.07519, allocations: 1.288 MB / 287.4 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.07606, allocations: 0.5148 MB / 287.9 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.123/0.199, allocations: 4.788 MB / 292.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.2022, allocations: 2.021 MB / 294.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007663/0.2098, allocations: 3.364 MB / 298.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.2147, allocations: 2.431 MB / 300.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.2163, allocations: 0.543 MB / 301 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.2181, allocations: 0.6344 MB / 301.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.2191, allocations: 1.569 MB / 303.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002473/0.2216, allocations: 1.718 MB / 304.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.2255, allocations: 4.021 MB / 309 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.2255, allocations: 0 / 309 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2255, allocations: 2.594 kB / 309 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001559/0.2256, allocations: 0 / 309 MB, free: 12.12 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.005626/0.2313, allocations: 4.914 MB / 313.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2313, allocations: 11.27 kB / 313.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2323, allocations: 0.8137 MB / 314.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.2346, allocations: 2.353 MB / 317.1 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.831e-05/0.2347, allocations: 267 kB / 317.3 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.235, allocations: 357.8 kB / 317.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/0.2383, allocations: 3.042 MB / 320.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/0.2384, allocations: 11.89 kB / 320.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.2386, allocations: 144.9 kB / 320.9 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.2387, allocations: 182.6 kB / 321 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.241, allocations: 1.319 MB / 322.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.2539, allocations: 11.78 MB / 334.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.2559, allocations: 1.532 MB / 335.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.2573, allocations: 0.95 MB / 336.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.2575, allocations: 65.97 kB / 336.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.2575, allocations: 59.39 kB / 336.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 5.921e-06/0.2575, allocations: 0 / 336.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.009453/0.267, allocations: 5.096 MB / 341.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.267, allocations: 77.41 kB / 341.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.2691, allocations: 1.868 MB / 343.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.2692, allocations: 65.7 kB / 343.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.2703, allocations: 1.763 MB / 345.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/0.2708, allocations: 0.7868 MB / 346.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.2712, allocations: 438.5 kB / 346.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.2713, allocations: 476.8 kB / 347.3 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/0.272, allocations: 376.4 kB / 347.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009527/0.273, allocations: 1.051 MB / 348.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.2748, allocations: 1.621 MB / 350.3 MB, free: 4.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.2748, allocations: 4 kB / 350.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003531/0.2783, allocations: 2.101 MB / 352.4 MB, free: 2.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.2783, allocations: 15.94 kB / 352.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.2783, allocations: 12 kB / 352.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.2799, allocations: 0.6142 MB / 353.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.281, allocations: 0.5126 MB / 353.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/0.2867, allocations: 7.798 MB / 361.4 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.288, allocations: 107.9 kB / 361.5 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.2881, allocations: 87.98 kB / 361.6 MB, free: 8.758 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.0009191/0.289, allocations: 301 kB / 361.9 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/0.2895, allocations: 338.3 kB / 362.2 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.2921, allocations: 1.838 MB / 364 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.2921, allocations: 24 kB / 364.1 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.2921, allocations: 8 kB / 364.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.2921, allocations: 15.89 kB / 364.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006979/0.2991, allocations: 4.982 MB / 369.1 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.2991, allocations: 4 kB / 369.1 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.3, allocations: 376.8 kB / 369.4 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.3015, allocations: 0.6593 MB / 370.1 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.3017, allocations: 55.97 kB / 370.2 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00607/0.3077, allocations: 9.487 MB / 379.6 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3077, allocations: 7.281 kB / 379.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004478/0.3122, allocations: 2.542 MB / 382.2 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.3134, allocations: 498.1 kB / 382.7 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.3136, allocations: 55.98 kB / 382.7 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.3143, allocations: 107.6 kB / 382.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/0.3146, allocations: 185.6 kB / 383 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.3147, allocations: 59.98 kB / 383.1 MB, free: 2.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001438/0.3161, allocations: 1.071 MB / 384.1 MB, free: 1.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3161, allocations: 0 / 384.1 MB, free: 1.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00231/0.3184, allocations: 0.7851 MB / 384.9 MB, free: 0.8711 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.0005549/0.319, allocations: 247.9 kB / 385.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002991/0.322, allocations: 2.219 MB / 387.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.322, allocations: 0.8125 kB / 387.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.324, allocations: 1.756 MB / 389.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.326, allocations: 0.6477 MB / 389.8 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009609/0.3356, allocations: 6.445 MB / 396.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008935/0.3365, allocations: 1.026 MB / 397.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00131/0.3378, allocations: 0.5045 MB / 397.8 MB, free: 3.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.3382, allocations: 160.5 kB / 397.9 MB, free: 3.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.893e-06/0.3382, allocations: 8 kB / 397.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of Templates: time 0.1734/0.5116, allocations: 41.38 MB / 439.3 MB, free: 119.6 MB / 378.7 MB " [Timeout remaining time 659] 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: 5.05309885693714]