Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.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.001429/0.001429, allocations: 71.75 kB / 21.69 MB, free: 2.84 MB / 18.57 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.002061/0.002061, allocations: 170.9 kB / 25 MB, free: 8.824 MB / 18.57 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 0.9682/0.9682, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.1 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/2.984e-05, allocations: 2.312 kB / 273.1 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01006/0.01009, allocations: 12.73 MB / 285.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004781/0.01487, allocations: 4.211 MB / 290 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006652/0.01554, allocations: 99.38 kB / 290.1 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1097/0.1252, allocations: 0.9643 MB / 291.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006653/0.1319, allocations: 1.288 MB / 292.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009683/0.1328, allocations: 0.5352 MB / 292.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006576/0.1394, allocations: 4.802 MB / 297.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005156/0.1446, allocations: 2.017 MB / 299.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006262/0.1508, allocations: 3.231 MB / 303 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005414/0.1563, allocations: 2.483 MB / 305.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006019/0.1569, allocations: 0.5532 MB / 306 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.1597, allocations: 0.6593 MB / 306.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007782/0.1605, allocations: 1.611 MB / 308.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.1617, allocations: 1.741 MB / 310 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.1645, allocations: 4.072 MB / 314.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1645, allocations: 0.5938 kB / 314.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1645, allocations: 7.625 kB / 314.1 MB, free: 6.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001173/0.1646, allocations: 2.062 kB / 314.1 MB, free: 6.605 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.004692/0.1693, allocations: 4.984 MB / 319.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1693, allocations: 8.031 kB / 319.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.1705, allocations: 0.8412 MB / 319.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.1729, allocations: 2.381 MB / 322.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.1731, allocations: 267 kB / 322.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003355/0.1734, allocations: 355.9 kB / 322.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/0.177, allocations: 3.049 MB / 326 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-05/0.1771, allocations: 15.64 kB / 326 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/0.1773, allocations: 147 kB / 326.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.1774, allocations: 183 kB / 326.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.1798, allocations: 1.323 MB / 327.6 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.1911, allocations: 11.87 MB / 339.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.1928, allocations: 1.531 MB / 341 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.194, allocations: 0.953 MB / 342 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.1942, allocations: 61.97 kB / 342 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1942, allocations: 63.39 kB / 342.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.857e-06/0.1943, allocations: 0 / 342.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.009297/0.2035, allocations: 5.072 MB / 347.2 MB, free: 5.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.2036, allocations: 85.34 kB / 347.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.2059, allocations: 1.884 MB / 349.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.2061, allocations: 69.7 kB / 349.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.2071, allocations: 1.775 MB / 351 MB, free: 1.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005336/0.2077, allocations: 0.7836 MB / 351.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/0.2082, allocations: 441.3 kB / 352.2 MB, free: 440 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2083, allocations: 480.8 kB / 352.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/0.209, allocations: 380.4 kB / 353 MB, free: 15.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009965/0.21, allocations: 1.047 MB / 354.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.2119, allocations: 1.62 MB / 355.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.2119, allocations: 8 kB / 355.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003412/0.2154, allocations: 2.111 MB / 357.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.2154, allocations: 8 kB / 357.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.2154, allocations: 16.47 kB / 357.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.217, allocations: 0.6044 MB / 358.5 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.2181, allocations: 0.5263 MB / 359 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005441/0.2236, allocations: 7.803 MB / 366.8 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.2248, allocations: 115.8 kB / 366.9 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.2249, allocations: 87.98 kB / 367 MB, free: 0.9609 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.0008307/0.2258, allocations: 303.5 kB / 367.3 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004433/0.2262, allocations: 338.3 kB / 367.6 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.2289, allocations: 1.838 MB / 369.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.2289, allocations: 27.94 kB / 369.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.2289, allocations: 7 kB / 369.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.2289, allocations: 7.969 kB / 369.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/0.2358, allocations: 5.022 MB / 374.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.2358, allocations: 4 kB / 374.5 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.2367, allocations: 381.1 kB / 374.9 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.2384, allocations: 0.6662 MB / 375.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.2385, allocations: 59.97 kB / 375.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006385/0.2449, allocations: 9.587 MB / 385.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2449, allocations: 4 kB / 385.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.2489, allocations: 2.546 MB / 387.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/0.2498, allocations: 0.4982 MB / 388.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.2501, allocations: 51.98 kB / 388.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006639/0.2508, allocations: 111.9 kB / 388.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005927/0.2513, allocations: 193.4 kB / 388.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.536e-05/0.2514, allocations: 63.98 kB / 388.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001325/0.2528, allocations: 1.079 MB / 389.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2528, allocations: 4 kB / 389.7 MB, free: 9.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001984/0.2548, allocations: 0.789 MB / 390.5 MB, free: 8.883 MB / 346.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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005896/0.2553, allocations: 247.7 kB / 390.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003123/0.2585, allocations: 2.221 MB / 393 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2585, allocations: 0 / 393 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.2605, allocations: 1.779 MB / 394.8 MB, free: 4.617 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.2627, allocations: 0.6561 MB / 395.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/0.2722, allocations: 6.476 MB / 401.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009843/0.2732, allocations: 1.022 MB / 402.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001628/0.2748, allocations: 0.5047 MB / 403.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.2752, allocations: 168.5 kB / 403.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of SimCode: time 1.783e-06/0.2752, allocations: 0 / 403.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of Templates: time 0.1711/0.4463, allocations: 40.48 MB / 444.1 MB, free: 120.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/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.772919688839465]