Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 147.6 kB / 25.59 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9606/0.9606, allocations: 173.4 MB / 202.2 MB, free: 8.309 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.222e-05, allocations: 2.312 kB / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.00744/0.007453, allocations: 9.402 MB / 278.6 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004142/0.01159, allocations: 2.957 MB / 281.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005815/0.01218, allocations: 59.62 kB / 281.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.01335, allocations: 0.6208 MB / 282.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.01473, allocations: 0.8224 MB / 283.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.01528, allocations: 375.4 kB / 283.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002106/0.01739, allocations: 2.513 MB / 286 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.01856, allocations: 1.005 MB / 287 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.02071, allocations: 1.762 MB / 288.7 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.02198, allocations: 1.165 MB / 289.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003194/0.0223, allocations: 276 kB / 290.2 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.02279, allocations: 355.8 kB / 290.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.02337, allocations: 0.7829 MB / 291.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008538/0.02422, allocations: 0.8614 MB / 292.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.02608, allocations: 1.989 MB / 294.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.02609, allocations: 3.938 kB / 294.1 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.02609, allocations: 0 / 294.1 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.02612, allocations: 4 kB / 294.1 MB, free: 0.707 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00341/0.02953, allocations: 2.612 MB / 296.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.02956, allocations: 8.031 kB / 296.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000693/0.03025, allocations: 431.4 kB / 297.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.03174, allocations: 1.203 MB / 298.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.03184, allocations: 144.2 kB / 298.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.03207, allocations: 196.3 kB / 298.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.03393, allocations: 1.434 MB / 300.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.953e-05/0.03398, allocations: 19.81 kB / 300.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.03412, allocations: 75.98 kB / 300.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-05/0.03421, allocations: 87.69 kB / 300.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.03523, allocations: 0.5587 MB / 300.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007367/0.04259, allocations: 6.436 MB / 307.3 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007772/0.04337, allocations: 0.5689 MB / 307.9 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008838/0.04425, allocations: 0.5324 MB / 308.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.04437, allocations: 36.98 kB / 308.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.0444, allocations: 46.39 kB / 308.5 MB, free: 1.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 2.465e-06/0.04441, allocations: 3.938 kB / 308.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.005242/0.04965, allocations: 2.574 MB / 311.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.04968, allocations: 64.41 kB / 311.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/0.05067, allocations: 1.037 MB / 312.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.05073, allocations: 45.7 kB / 312.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000606/0.05134, allocations: 1.03 MB / 313.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.05161, allocations: 416.4 kB / 313.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/0.05194, allocations: 265 kB / 313.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.05212, allocations: 0.5471 MB / 314.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.05242, allocations: 175.8 kB / 314.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.05298, allocations: 0.6829 MB / 315.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.0542, allocations: 0.9568 MB / 316.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.05421, allocations: 0 / 316.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001778/0.05599, allocations: 1.194 MB / 317.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.05601, allocations: 8 kB / 317.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.05602, allocations: 15.94 kB / 317.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/0.05676, allocations: 282.3 kB / 317.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.05747, allocations: 271.5 kB / 318 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.06176, allocations: 6.532 MB / 324.6 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.06229, allocations: 47.94 kB / 324.6 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.06237, allocations: 44 kB / 324.7 MB, free: 0.8359 MB / 298.7 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.0003357/0.0627, allocations: 244.1 kB / 324.9 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.06294, allocations: 179.1 kB / 325.1 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.06448, allocations: 0.97 MB / 326 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.06449, allocations: 16 kB / 326.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.0645, allocations: 4 kB / 326.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.06451, allocations: 7.969 kB / 326.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.06795, allocations: 2.265 MB / 328.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.06795, allocations: 4.281 kB / 328.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.06848, allocations: 163.8 kB / 328.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/0.06935, allocations: 337.9 kB / 328.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/0.06941, allocations: 27.98 kB / 328.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004949/0.07436, allocations: 8.28 MB / 337.1 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.07437, allocations: 7.938 kB / 337.2 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.07629, allocations: 1.396 MB / 338.5 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.07657, allocations: 223 kB / 338.8 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.836e-05/0.07667, allocations: 24 kB / 338.8 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.07698, allocations: 47.97 kB / 338.8 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.07712, allocations: 92.7 kB / 338.9 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.07716, allocations: 20 kB / 338.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004135/0.07757, allocations: 0.5794 MB / 339.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07757, allocations: 0 / 339.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009173/0.07849, allocations: 431.9 kB / 339.9 MB, free: 0.8633 MB / 314.7 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%), (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.0002829/0.07877, allocations: 193.1 kB / 340.1 MB, free: 0.668 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.08005, allocations: 1.363 MB / 341.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.08005, allocations: 4 kB / 341.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009309/0.08098, allocations: 1.186 MB / 342.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008905/0.08187, allocations: 359.3 kB / 343 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.08623, allocations: 3.466 MB / 346.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.08662, allocations: 0.4921 MB / 347 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004204/0.08704, allocations: 171.9 kB / 347.2 MB, free: 9.379 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/0.08762, allocations: 406 kB / 347.6 MB, free: 8.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.894e-06/0.08762, allocations: 4 kB / 347.6 MB, free: 8.977 MB / 330.7 MB Notification: Performance of Templates: time 0.1292/0.2169, allocations: 24.04 MB / 371.6 MB, free: 78.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.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: 3.4470042060129344]