Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007822/0.0007822, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001811, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006923/0.0006923, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008631/0.001555, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9917/0.9917, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09003/1.082, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.688e-06/1.08e-05, allocations: 5.828 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.009597/0.009607, allocations: 12.62 MB / 257.7 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.01605, allocations: 4.465 MB / 262.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009918/0.01704, allocations: 103.3 kB / 262.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.01843, allocations: 0.9975 MB / 263.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.02032, allocations: 1.304 MB / 264.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.021, allocations: 0.5381 MB / 265.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003361/0.02436, allocations: 4.877 MB / 270 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.02617, allocations: 2.066 MB / 272 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1215/0.1477, allocations: 3.694 MB / 275.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003939/0.1517, allocations: 2.452 MB / 278.2 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001673/0.1533, allocations: 0.5436 MB / 278.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.1556, allocations: 0.6423 MB / 279.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.1573, allocations: 1.289 MB / 280.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003514/0.1608, allocations: 1.428 MB / 282.1 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005395/0.1662, allocations: 3.805 MB / 285.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.638e-05/0.1662, allocations: 0.6094 kB / 285.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1662, allocations: 0 / 285.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002252/0.1665, allocations: 0 / 285.9 MB, free: 4.641 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.007202/0.1737, allocations: 5.302 MB / 291.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1737, allocations: 10.12 kB / 291.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.1749, allocations: 0.76 MB / 292 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.1771, allocations: 1.658 MB / 293.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.1772, allocations: 263.6 kB / 293.9 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.1776, allocations: 355.4 kB / 294.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.1805, allocations: 2.861 MB / 297.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.644e-05/0.1806, allocations: 4 kB / 297.1 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.1808, allocations: 155.9 kB / 297.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.1809, allocations: 187.4 kB / 297.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.1824, allocations: 1.072 MB / 298.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.1929, allocations: 9.224 MB / 307.7 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.1943, allocations: 1.356 MB / 309.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009292/0.1953, allocations: 0.7788 MB / 309.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.1954, allocations: 61.97 kB / 309.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1955, allocations: 56.56 kB / 310 MB, free: 5.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.807e-06/0.1955, allocations: 0 / 310 MB, free: 5.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.006729/0.2022, allocations: 3.983 MB / 314 MB, free: 1.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2022, allocations: 73.41 kB / 314 MB, free: 1.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.2036, allocations: 1.517 MB / 315.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.603e-05/0.2037, allocations: 61.7 kB / 315.6 MB, free: 484 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/0.2042, allocations: 1.362 MB / 317 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.2045, allocations: 0.7613 MB / 317.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.2049, allocations: 393 kB / 318.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.205, allocations: 305.1 kB / 318.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.2054, allocations: 283.8 kB / 318.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.206, allocations: 0.723 MB / 319.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.2071, allocations: 1.286 MB / 320.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.2071, allocations: 4 kB / 320.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001945/0.209, allocations: 1.535 MB / 322.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2091, allocations: 12 kB / 322.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.2091, allocations: 12 kB / 322.3 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.2105, allocations: 0.5824 MB / 322.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.2119, allocations: 0.6235 MB / 323.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004031/0.2159, allocations: 5.703 MB / 329.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.2171, allocations: 79.97 kB / 329.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.2172, allocations: 60 kB / 329.3 MB, free: 2.664 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.001009/0.2182, allocations: 258.8 kB / 329.6 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/0.2187, allocations: 239.7 kB / 329.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.2206, allocations: 1.406 MB / 331.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.2206, allocations: 20 kB / 331.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2206, allocations: 8 kB / 331.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.2206, allocations: 11.95 kB / 331.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/0.2255, allocations: 3.457 MB / 334.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.2255, allocations: 8.344 kB / 334.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.2268, allocations: 0.5424 MB / 335.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/0.2274, allocations: 320.9 kB / 335.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.2287, allocations: 0.621 MB / 336.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/0.2288, allocations: 55.91 kB / 336.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004489/0.2333, allocations: 6.962 MB / 343.2 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2333, allocations: 2.188 kB / 343.2 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.2359, allocations: 1.955 MB / 345.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.2362, allocations: 51.98 kB / 345.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.2368, allocations: 79.97 kB / 345.3 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.2371, allocations: 173 kB / 345.4 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.354e-05/0.2372, allocations: 43.98 kB / 345.5 MB, free: 2.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007884/0.2379, allocations: 0.775 MB / 346.3 MB, free: 1.781 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2379, allocations: 0 / 346.3 MB, free: 1.781 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001758/0.2397, allocations: 0.789 MB / 347.1 MB, free: 0.9922 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.0004315/0.2401, allocations: 226.4 kB / 347.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.2421, allocations: 1.725 MB / 349 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.508e-05/0.2422, allocations: 45.69 kB / 349 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.2434, allocations: 1.343 MB / 350.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.245, allocations: 0.8581 MB / 351.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/0.2702, allocations: 6.561 MB / 357.8 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009586/0.2711, allocations: 0.8813 MB / 358.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001183/0.2723, allocations: 309.2 kB / 359 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.2738, allocations: 0.6201 MB / 359.6 MB, free: 4.492 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2738, allocations: 3.75 kB / 359.6 MB, free: 4.492 MB / 330.7 MB Notification: Performance of Templates: time 0.05311/0.3269, allocations: 44.57 MB / 404.2 MB, free: 8.527 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.40756674669683]