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.00104/0.00104, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002537, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009758/0.0009758, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002342, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9862/0.9862, allocations: 173.3 MB / 185.8 MB, free: 9.008 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09486/1.081, allocations: 52.5 MB / 238.3 MB, free: 4.445 MB / 234.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.573e-06/1.573e-06, allocations: 3.938 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.352e-05, allocations: 6.312 kB / 239.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.009504/0.009518, allocations: 12.53 MB / 252.1 MB, free: 6.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006749/0.01627, allocations: 4.302 MB / 256.4 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.01732, allocations: 103.3 kB / 256.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.01868, allocations: 0.9936 MB / 257.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.02053, allocations: 1.281 MB / 258.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.02119, allocations: 0.5148 MB / 259.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002807/0.024, allocations: 4.834 MB / 264.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.02565, allocations: 2.066 MB / 266.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.02899, allocations: 3.665 MB / 269.9 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.03111, allocations: 2.44 MB / 272.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005703/0.03168, allocations: 0.543 MB / 272.9 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007371/0.03242, allocations: 0.621 MB / 273.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1142/0.1466, allocations: 1.272 MB / 274.8 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003948/0.1505, allocations: 1.42 MB / 276.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004983/0.1555, allocations: 3.778 MB / 280 MB, free: 8.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.1555, allocations: 0 / 280 MB, free: 8.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1555, allocations: 0 / 280 MB, free: 8.656 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001761/0.1557, allocations: 1.25 kB / 280 MB, free: 8.656 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.007566/0.1633, allocations: 5.26 MB / 285.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1633, allocations: 11.34 kB / 285.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.1644, allocations: 0.7315 MB / 286 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.1664, allocations: 1.62 MB / 287.6 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.1665, allocations: 262 kB / 287.8 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/0.1668, allocations: 360.6 kB / 288.2 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.1695, allocations: 2.851 MB / 291 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.289e-05/0.1696, allocations: 16.3 kB / 291.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.1698, allocations: 145.7 kB / 291.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.1699, allocations: 177.6 kB / 291.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.1713, allocations: 1.074 MB / 292.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007976/0.1793, allocations: 9.163 MB / 301.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.1804, allocations: 1.359 MB / 303 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/0.1812, allocations: 0.7811 MB / 303.8 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.1814, allocations: 58.23 kB / 303.8 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1814, allocations: 56.56 kB / 303.9 MB, free: 196 kB / 266.7 MB Notification: Performance of pre-optimization done (n=198): time 2.985e-06/0.1814, allocations: 0 / 303.9 MB, free: 196 kB / 266.7 MB Notification: Performance of matching and sorting (n=218): time 0.006293/0.1877, allocations: 3.983 MB / 307.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1878, allocations: 84.11 kB / 307.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.1889, allocations: 1.501 MB / 309.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.751e-05/0.189, allocations: 61.7 kB / 309.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.1895, allocations: 1.351 MB / 310.8 MB, free: 9.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.1899, allocations: 0.761 MB / 311.6 MB, free: 9.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.1903, allocations: 389 kB / 312 MB, free: 8.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.1904, allocations: 309.1 kB / 312.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.1908, allocations: 283.8 kB / 312.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.1913, allocations: 0.725 MB / 313.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.1925, allocations: 1.283 MB / 314.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.1925, allocations: 7.562 kB / 314.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001966/0.1945, allocations: 1.531 MB / 316.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1945, allocations: 8 kB / 316.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.1945, allocations: 19.94 kB / 316.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.1958, allocations: 0.5787 MB / 316.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.1971, allocations: 0.6263 MB / 317.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/0.2011, allocations: 5.709 MB / 323 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.2019, allocations: 75.98 kB / 323.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.202, allocations: 67.94 kB / 323.2 MB, free: 13.41 MB / 298.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.000768/0.2028, allocations: 251.4 kB / 323.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.2031, allocations: 235.7 kB / 323.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.2048, allocations: 1.409 MB / 325.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.2048, allocations: 20 kB / 325.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.2048, allocations: 16 kB / 325.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2048, allocations: 10.81 kB / 325.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004345/0.2092, allocations: 3.445 MB / 328.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2092, allocations: 0 / 328.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.2104, allocations: 0.5466 MB / 329.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.2109, allocations: 328.3 kB / 329.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.2122, allocations: 0.6178 MB / 330 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-05/0.2122, allocations: 47.98 kB / 330.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004228/0.2165, allocations: 6.95 MB / 337 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.2165, allocations: 3.281 kB / 337 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.2186, allocations: 1.951 MB / 339 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.2189, allocations: 55.92 kB / 339.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.2194, allocations: 83.95 kB / 339.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.2196, allocations: 173.2 kB / 339.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.2197, allocations: 39.98 kB / 339.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005985/0.2203, allocations: 0.7594 MB / 340.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2203, allocations: 0 / 340.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001477/0.2218, allocations: 0.7929 MB / 340.9 MB, free: 11.78 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.0004111/0.2222, allocations: 236.4 kB / 341.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.2239, allocations: 1.716 MB / 342.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.331e-05/0.224, allocations: 49.69 kB / 342.9 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.2252, allocations: 1.337 MB / 344.2 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.2266, allocations: 0.8485 MB / 345.1 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/0.2502, allocations: 6.511 MB / 351.6 MB, free: 1.156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/0.251, allocations: 0.8766 MB / 352.5 MB, free: 268 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00113/0.2521, allocations: 317.1 kB / 352.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.2533, allocations: 0.6083 MB / 353.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of SimCode: time 2.815e-06/0.2533, allocations: 0 / 353.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of Templates: time 0.06027/0.3135, allocations: 44.44 MB / 397.8 MB, free: 3.621 MB / 362.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 -ignoreHideResult -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.506604271009564]