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.0009863/0.0009863, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.002531, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000979/0.000979, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002268, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08755/1.089, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.714e-06/1.714e-06, allocations: 0 / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.524e-05, allocations: 2.312 kB / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01405/0.01406, allocations: 12.58 MB / 257.2 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005518/0.01958, allocations: 4.376 MB / 261.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008737/0.02046, allocations: 103.3 kB / 261.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.02177, allocations: 0.9936 MB / 262.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.02345, allocations: 1.292 MB / 263.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.02411, allocations: 0.5227 MB / 264.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003065/0.02717, allocations: 4.838 MB / 269.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.02884, allocations: 2.066 MB / 271.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1212/0.1501, allocations: 3.669 MB / 275 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.1535, allocations: 2.438 MB / 277.4 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.1547, allocations: 0.5425 MB / 278 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.1559, allocations: 0.6472 MB / 278.6 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.157, allocations: 1.28 MB / 279.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.1589, allocations: 1.421 MB / 281.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.1626, allocations: 3.789 MB / 285.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.1626, allocations: 0 / 285.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1626, allocations: 0 / 285.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001077/0.1627, allocations: 0 / 285.1 MB, free: 4.566 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.004614/0.1673, allocations: 5.281 MB / 290.4 MB, free: 2.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.548e-05/0.1674, allocations: 12.94 kB / 290.4 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009566/0.1683, allocations: 0.7626 MB / 291.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.17, allocations: 1.634 MB / 292.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/0.1701, allocations: 264.5 kB / 293.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.1704, allocations: 358.3 kB / 293.4 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.1731, allocations: 2.853 MB / 296.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/0.1731, allocations: 7.359 kB / 296.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.1733, allocations: 142.5 kB / 296.4 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.1734, allocations: 181.3 kB / 296.6 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.1748, allocations: 1.078 MB / 297.7 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009683/0.1845, allocations: 9.214 MB / 306.9 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.1859, allocations: 1.368 MB / 308.3 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008928/0.1868, allocations: 0.7739 MB / 309 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.187, allocations: 65.09 kB / 309.1 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.187, allocations: 56.56 kB / 309.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 2.996e-06/0.187, allocations: 0 / 309.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.006687/0.1937, allocations: 3.972 MB / 313.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.1937, allocations: 81.34 kB / 313.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.1948, allocations: 1.514 MB / 314.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.46e-05/0.1949, allocations: 61.7 kB / 314.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/0.1955, allocations: 1.359 MB / 316.1 MB, free: 236 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.1959, allocations: 0.75 MB / 316.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003921/0.1963, allocations: 396.2 kB / 317.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.1963, allocations: 301.1 kB / 317.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.1967, allocations: 295 kB / 317.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.1973, allocations: 0.7147 MB / 318.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.1987, allocations: 1.295 MB / 319.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.1987, allocations: 0 / 319.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00191/0.2006, allocations: 1.539 MB / 321.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.2006, allocations: 12 kB / 321.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.2007, allocations: 12 kB / 321.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.2019, allocations: 0.5687 MB / 322 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.2032, allocations: 0.6355 MB / 322.6 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004345/0.2076, allocations: 5.702 MB / 328.3 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/0.2083, allocations: 79.92 kB / 328.4 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.2084, allocations: 68.05 kB / 328.5 MB, free: 3.707 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.0008343/0.2092, allocations: 260.5 kB / 328.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.2095, allocations: 231.8 kB / 329 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.2113, allocations: 1.426 MB / 330.4 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.2113, allocations: 20 kB / 330.4 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.2113, allocations: 8 kB / 330.4 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.2113, allocations: 7.969 kB / 330.4 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/0.2158, allocations: 3.436 MB / 333.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.2158, allocations: 0 / 333.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.2169, allocations: 0.5468 MB / 334.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008193/0.2177, allocations: 325.3 kB / 334.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.219, allocations: 0.6203 MB / 335.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.88e-05/0.2191, allocations: 51.98 kB / 335.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004353/0.2235, allocations: 6.952 MB / 342.3 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2235, allocations: 7.938 kB / 342.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.2256, allocations: 1.957 MB / 344.3 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.2258, allocations: 47.98 kB / 344.4 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.2263, allocations: 86.14 kB / 344.4 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.2265, allocations: 169.1 kB / 344.6 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/0.2266, allocations: 43.98 kB / 344.7 MB, free: 3.547 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005978/0.2272, allocations: 0.7779 MB / 345.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.2272, allocations: 0 / 345.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001412/0.2286, allocations: 0.7851 MB / 346.2 MB, free: 2.051 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.0003918/0.229, allocations: 231.3 kB / 346.4 MB, free: 1.859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.2308, allocations: 1.726 MB / 348.2 MB, free: 180 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-05/0.2309, allocations: 49.88 kB / 348.2 MB, free: 132 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.2325, allocations: 1.336 MB / 349.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.234, allocations: 0.8594 MB / 350.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/0.2648, allocations: 6.522 MB / 356.9 MB, free: 7.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009427/0.2658, allocations: 0.8806 MB / 357.8 MB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00116/0.2669, allocations: 309.1 kB / 358.1 MB, free: 6.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.2683, allocations: 0.6201 MB / 358.7 MB, free: 5.574 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2683, allocations: 0 / 358.7 MB, free: 5.574 MB / 330.7 MB Notification: Performance of Templates: time 0.05702/0.3253, allocations: 44.57 MB / 403.3 MB, free: 9.738 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 -emit_protected -ignoreHideResult -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.462824722751975]