Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001481/0.001481, allocations: 81.94 kB / 21.25 MB, free: 0.5469 MB / 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.002019/0.002019, allocations: 161.6 kB / 24.5 MB, free: 3.715 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.555/1.555, allocations: 177.1 MB / 204.7 MB, free: 8.977 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 66 kB / 325.6 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1116, 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_Steinmetz): time 0.01312/0.1248, allocations: 8.629 MB / 387.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00688/0.1316, allocations: 2.922 MB / 390.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.1335, allocations: 59.62 kB / 390.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.1358, allocations: 0.6287 MB / 391.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.1388, allocations: 0.7881 MB / 392 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.14, allocations: 387.4 kB / 392.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.1438, allocations: 2.452 MB / 394.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.1454, allocations: 0.9977 MB / 395.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.1474, allocations: 1.11 MB / 396.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.1499, allocations: 1.253 MB / 398.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007001/0.1506, allocations: 276 kB / 398.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.1518, allocations: 383.8 kB / 398.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009668/0.1527, allocations: 0.7829 MB / 399.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.1542, allocations: 1.027 MB / 400.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.1586, allocations: 3.69 MB / 404.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1586, allocations: 0 / 404.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.1586, allocations: 8 kB / 404.3 MB, free: 5.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.033e-05/0.1587, allocations: 0 / 404.3 MB, free: 5.957 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00534/0.164, allocations: 2.58 MB / 406.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1641, allocations: 11.98 kB / 406.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008901/0.165, allocations: 287.3 kB / 407.2 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.1674, allocations: 1.294 MB / 408.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.1675, allocations: 144.2 kB / 408.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.1678, allocations: 191.9 kB / 408.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004187/0.172, allocations: 2.527 MB / 411.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/0.1721, allocations: 4 kB / 411.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.1722, allocations: 79.91 kB / 411.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.1723, allocations: 87.69 kB / 411.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.1758, allocations: 1.959 MB / 413.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.188, allocations: 6.775 MB / 420.2 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.1896, allocations: 1.004 MB / 421.2 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.1915, allocations: 0.9085 MB / 422.1 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.1917, allocations: 40.97 kB / 422.2 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.1917, allocations: 51.5 kB / 422.2 MB, free: 3.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.865e-06/0.1917, allocations: 0 / 422.2 MB, free: 3.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01289/0.2046, allocations: 5.496 MB / 427.7 MB, free: 14.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2047, allocations: 64.41 kB / 427.8 MB, free: 14.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.2064, allocations: 1.178 MB / 429 MB, free: 12.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.013e-05/0.2065, allocations: 45.7 kB / 429 MB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.2073, allocations: 0.9449 MB / 430 MB, free: 11.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.2076, allocations: 408.5 kB / 430.4 MB, free: 11.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004009/0.208, allocations: 255.5 kB / 430.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2082, allocations: 361.9 kB / 431 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.2092, allocations: 0.6364 MB / 431.6 MB, free: 10.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.2106, allocations: 1.004 MB / 432.6 MB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/0.213, allocations: 1.735 MB / 434.3 MB, free: 7.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.213, allocations: 4 kB / 434.3 MB, free: 7.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003997/0.217, allocations: 2.234 MB / 436.6 MB, free: 4.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.217, allocations: 8 kB / 436.6 MB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.2171, allocations: 12 kB / 436.6 MB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.2183, allocations: 496.2 kB / 437.1 MB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.2194, allocations: 303.5 kB / 437.4 MB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00748/0.2269, allocations: 6.694 MB / 444.1 MB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.228, allocations: 87.86 kB / 444.2 MB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.2281, allocations: 56 kB / 444.2 MB, free: 12.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001076/0.2292, allocations: 0.603 MB / 444.8 MB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.2295, allocations: 143 kB / 445 MB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.2329, allocations: 1.94 MB / 446.9 MB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.2329, allocations: 12 kB / 446.9 MB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.233, allocations: 7.938 kB / 446.9 MB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.233, allocations: 7.969 kB / 446.9 MB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00661/0.2396, allocations: 3.634 MB / 450.6 MB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.2396, allocations: 8.031 kB / 450.6 MB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.2404, allocations: 179.8 kB / 450.7 MB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/0.2419, allocations: 0.5387 MB / 451.3 MB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.976e-05/0.242, allocations: 31.98 kB / 451.3 MB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009451/0.2514, allocations: 8.199 MB / 459.5 MB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.2514, allocations: 3.938 kB / 459.5 MB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004985/0.2564, allocations: 2.836 MB / 462.3 MB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008574/0.2573, allocations: 267 kB / 462.6 MB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/0.2575, allocations: 36.05 kB / 462.6 MB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.2583, allocations: 64.2 kB / 462.7 MB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.2586, allocations: 100.6 kB / 462.8 MB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/0.2586, allocations: 31.94 kB / 462.8 MB, free: 9.684 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.2599, allocations: 0.7908 MB / 463.6 MB, free: 8.887 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2599, allocations: 0 / 463.6 MB, free: 8.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001639/0.2615, allocations: 439.9 kB / 464.1 MB, free: 8.457 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,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.0004113/0.2619, allocations: 190.8 kB / 464.2 MB, free: 8.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.2657, allocations: 1.999 MB / 466.2 MB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.2657, allocations: 0 / 466.2 MB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.268, allocations: 1.384 MB / 467.6 MB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.27, allocations: 362.5 kB / 468 MB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007683/0.2777, allocations: 4.142 MB / 472.1 MB, free: 232 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2052/0.4829, allocations: 1.073 MB / 473.2 MB, free: 82.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.4841, allocations: 307.8 kB / 473.5 MB, free: 82.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.4843, allocations: 94.31 kB / 473.6 MB, free: 82.58 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4843, allocations: 0 / 473.6 MB, free: 82.58 MB / 430.1 MB Notification: Performance of Templates: time 0.03594/0.5203, allocations: 22.92 MB / 496.5 MB, free: 72.33 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 5.760004571988247]