Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.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.001805/0.001805, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 14.72 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.001633/0.001633, allocations: 162.5 kB / 24.5 MB, free: 3.449 MB / 14.72 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 1.431/1.431, allocations: 177.1 MB / 204.7 MB, free: 8.871 MB / 190.1 MB " [Timeout remaining time 178] 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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 62.95 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1538, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01514/0.1689, allocations: 11.34 MB / 390.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00903/0.1779, allocations: 4.054 MB / 394.3 MB, free: 8 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.1806, allocations: 99.42 kB / 394.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003937/0.1845, allocations: 0.9664 MB / 395.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006569/0.1911, allocations: 1.258 MB / 396.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.1931, allocations: 0.5345 MB / 397.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006875/0.2, allocations: 4.688 MB / 401.9 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.2033, allocations: 1.999 MB / 403.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004812/0.2081, allocations: 2.215 MB / 406.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005329/0.2135, allocations: 2.549 MB / 408.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001745/0.2152, allocations: 0.5508 MB / 409.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.2173, allocations: 0.6483 MB / 409.8 MB, free: 408 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.2191, allocations: 1.547 MB / 411.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003744/0.2229, allocations: 2.019 MB / 413.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009892/0.2328, allocations: 7.529 MB / 420.9 MB, free: 5.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2328, allocations: 0 / 420.9 MB, free: 5.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2328, allocations: 0 / 420.9 MB, free: 5.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002345/0.233, allocations: 0 / 420.9 MB, free: 5.266 MB / 382.1 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.01284/0.2459, allocations: 4.771 MB / 425.7 MB, free: 448 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2459, allocations: 15.98 kB / 425.7 MB, free: 432 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.2481, allocations: 0.5487 MB / 426.3 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006218/0.2543, allocations: 2.54 MB / 428.8 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/0.2546, allocations: 267.4 kB / 429.1 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.2557, allocations: 355.9 kB / 429.4 MB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.267, allocations: 5.311 MB / 434.7 MB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001946/0.2672, allocations: 4 kB / 434.7 MB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008887/0.2681, allocations: 144 kB / 434.9 MB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002705/0.2684, allocations: 195.1 kB / 435.1 MB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.2789, allocations: 4.302 MB / 439.4 MB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03378/0.3127, allocations: 12.91 MB / 452.3 MB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004947/0.3176, allocations: 2.688 MB / 455 MB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/0.3213, allocations: 1.877 MB / 456.8 MB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.3216, allocations: 57.97 kB / 456.9 MB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/0.3217, allocations: 56.56 kB / 457 MB, free: 0.6914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 5.01e-06/0.3217, allocations: 0 / 457 MB, free: 0.6914 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02322/0.3449, allocations: 9.582 MB / 466.5 MB, free: 7.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.345, allocations: 77.41 kB / 466.6 MB, free: 7.008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004968/0.35, allocations: 2.203 MB / 468.8 MB, free: 4.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000415/0.3504, allocations: 61.7 kB / 468.9 MB, free: 4.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.352, allocations: 1.684 MB / 470.6 MB, free: 3.004 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.353, allocations: 0.763 MB / 471.3 MB, free: 2.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.3542, allocations: 424.4 kB / 471.7 MB, free: 1.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3544, allocations: 301.1 kB / 472 MB, free: 1.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/0.357, allocations: 1.297 MB / 473.3 MB, free: 220 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3143/0.6713, allocations: 1.777 MB / 475.1 MB, free: 81.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005586/0.6769, allocations: 3.212 MB / 478.3 MB, free: 80.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/0.6769, allocations: 6.562 kB / 478.3 MB, free: 80.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008283/0.6852, allocations: 4.037 MB / 482.4 MB, free: 78.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.6852, allocations: 12.59 kB / 482.4 MB, free: 78.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.6853, allocations: 13.86 kB / 482.4 MB, free: 78.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.6882, allocations: 0.88 MB / 483.3 MB, free: 78.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/0.6905, allocations: 0.526 MB / 483.8 MB, free: 78.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009829/0.7003, allocations: 8.992 MB / 492.8 MB, free: 72.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.7028, allocations: 122.5 kB / 492.9 MB, free: 72.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.7031, allocations: 84.03 kB / 493 MB, free: 72.34 MB / 430.1 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.002793/0.7059, allocations: 1.223 MB / 494.2 MB, free: 71.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/0.7067, allocations: 262.2 kB / 494.5 MB, free: 71.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/0.7141, allocations: 3.678 MB / 498.1 MB, free: 70.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/0.7141, allocations: 24.59 kB / 498.2 MB, free: 70.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.7141, allocations: 3.844 kB / 498.2 MB, free: 70.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/0.7142, allocations: 10.97 kB / 498.2 MB, free: 70.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.7308, allocations: 7.119 MB / 0.4935 GB, free: 63.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.7308, allocations: 7.938 kB / 0.4935 GB, free: 63.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/0.7331, allocations: 383.8 kB / 0.4938 GB, free: 63.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003828/0.7369, allocations: 0.9286 MB / 0.4947 GB, free: 62.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002699/0.7371, allocations: 55.97 kB / 0.4948 GB, free: 62.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.7501, allocations: 10.49 MB / 0.505 GB, free: 51.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7501, allocations: 4.656 kB / 0.505 GB, free: 51.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.7608, allocations: 5.481 MB / 0.5104 GB, free: 46.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/0.7629, allocations: 0.545 MB / 0.5109 GB, free: 45.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004695/0.7633, allocations: 51.98 kB / 0.511 GB, free: 45.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.7652, allocations: 111.9 kB / 0.5111 GB, free: 45.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000505/0.7657, allocations: 193.2 kB / 0.5113 GB, free: 45.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/0.7659, allocations: 63.92 kB / 0.5113 GB, free: 45.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002438/0.7683, allocations: 1.497 MB / 0.5128 GB, free: 43.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7683, allocations: 0 / 0.5128 GB, free: 43.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003079/0.7714, allocations: 0.7971 MB / 0.5136 GB, free: 42.75 MB / 430.1 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.0006236/0.772, allocations: 241.9 kB / 0.5138 GB, free: 42.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007536/0.7796, allocations: 3.618 MB / 0.5173 GB, free: 38.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.7796, allocations: 0 / 0.5173 GB, free: 38.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004972/0.7846, allocations: 2.315 MB / 0.5196 GB, free: 36.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/0.7896, allocations: 0.6354 MB / 0.5202 GB, free: 35.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.8081, allocations: 7.86 MB / 0.5279 GB, free: 28.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/0.8112, allocations: 2.243 MB / 0.5301 GB, free: 25.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002866/0.814, allocations: 0.6453 MB / 0.5307 GB, free: 25.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008074/0.8148, allocations: 164.5 kB / 0.5309 GB, free: 24.93 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.8148, allocations: 0 / 0.5309 GB, free: 24.93 MB / 430.1 MB Notification: Performance of Templates: time 0.07248/0.8873, allocations: 40.53 MB / 0.5704 GB, free: 0.8242 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.848375034984201]