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.0008225/0.0008225, allocations: 84 kB / 21.43 MB, free: 3.133 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.003832/0.003832, allocations: 143.6 kB / 24.68 MB, free: 8.891 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.8192/0.8192, allocations: 173.4 MB / 201.2 MB, free: 9.43 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.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_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.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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.185e-05, allocations: 6.219 kB / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.009723/0.009745, allocations: 8.579 MB / 328.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005403/0.01515, allocations: 2.863 MB / 331.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.01595, allocations: 63.56 kB / 331.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.01733, allocations: 0.6247 MB / 331.8 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.01912, allocations: 0.8147 MB / 332.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.01986, allocations: 379.3 kB / 333 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.02177, allocations: 2.517 MB / 335.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008847/0.02265, allocations: 0.9976 MB / 336.5 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.02391, allocations: 1.61 MB / 338.2 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.02499, allocations: 1.118 MB / 339.3 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.0253, allocations: 280 kB / 339.5 MB, free: 1.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.02567, allocations: 363.9 kB / 339.9 MB, free: 1.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004502/0.02613, allocations: 0.8024 MB / 340.7 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006237/0.02675, allocations: 0.8731 MB / 341.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.02905, allocations: 3.692 MB / 345.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.02906, allocations: 0 / 345.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.02906, allocations: 0 / 345.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.02908, allocations: 0 / 345.3 MB, free: 12.11 MB / 314.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.002528/0.03161, allocations: 2.541 MB / 347.8 MB, free: 9.531 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.03164, allocations: 12.92 kB / 347.8 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.03201, allocations: 275.4 kB / 348.1 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.03334, allocations: 1.285 MB / 349.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/0.03341, allocations: 144.2 kB / 349.5 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.03358, allocations: 188.3 kB / 349.7 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.03593, allocations: 2.527 MB / 352.2 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.03597, allocations: 15.88 kB / 352.2 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.03609, allocations: 76 kB / 352.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/0.03615, allocations: 87.69 kB / 352.4 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.03815, allocations: 1.955 MB / 354.4 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006062/0.04421, allocations: 6.771 MB / 361.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009888/0.0452, allocations: 0.9984 MB / 362.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009991/0.0462, allocations: 0.9133 MB / 363 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.04633, allocations: 44.97 kB / 363.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.04636, allocations: 47.5 kB / 363.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 1.964e-06/0.04636, allocations: 0 / 363.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.006748/0.05311, allocations: 5.493 MB / 368.6 MB, free: 4.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.05315, allocations: 64.41 kB / 368.7 MB, free: 4.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/0.05413, allocations: 1.162 MB / 369.9 MB, free: 3.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.05418, allocations: 49.7 kB / 369.9 MB, free: 3.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.05459, allocations: 0.9527 MB / 370.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.0548, allocations: 400.6 kB / 371.2 MB, free: 1.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.05503, allocations: 247.5 kB / 371.5 MB, free: 1.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.05513, allocations: 361.9 kB / 371.8 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.05575, allocations: 0.6364 MB / 372.5 MB, free: 420 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007693/0.05652, allocations: 1.001 MB / 373.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.058, allocations: 1.739 MB / 375.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.058, allocations: 4 kB / 375.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002219/0.06022, allocations: 2.226 MB / 377.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.06024, allocations: 12 kB / 377.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.06025, allocations: 8 kB / 377.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/0.06095, allocations: 0.4914 MB / 378 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.06151, allocations: 299.5 kB / 378.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.06584, allocations: 6.714 MB / 385 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.06635, allocations: 79.88 kB / 385 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.06641, allocations: 59.98 kB / 385.1 MB, free: 3.148 MB / 346.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.000722/0.06713, allocations: 0.5989 MB / 385.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.06728, allocations: 147.1 kB / 385.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.06927, allocations: 1.94 MB / 387.8 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.06928, allocations: 8 kB / 387.8 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.06929, allocations: 8 kB / 387.8 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.06929, allocations: 3.984 kB / 387.8 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.07315, allocations: 3.63 MB / 391.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.07316, allocations: 8.062 kB / 391.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.07358, allocations: 187.7 kB / 391.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007719/0.07435, allocations: 0.5354 MB / 392.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.0744, allocations: 35.92 kB / 392.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.0792, allocations: 8.185 MB / 400.4 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.0792, allocations: 0 / 400.4 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.08181, allocations: 2.836 MB / 403.2 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.08216, allocations: 263 kB / 403.5 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.432e-05/0.08226, allocations: 31.98 kB / 403.5 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.08261, allocations: 63.92 kB / 403.6 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.08277, allocations: 96.84 kB / 403.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.08281, allocations: 35.94 kB / 403.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006957/0.08351, allocations: 0.7828 MB / 404.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08351, allocations: 0 / 404.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009696/0.08448, allocations: 435.9 kB / 404.9 MB, free: 14.74 MB / 378.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%), (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.0002665/0.08474, allocations: 190.8 kB / 405.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.08668, allocations: 2.004 MB / 407.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.08668, allocations: 0 / 407.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.08783, allocations: 1.38 MB / 408.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.08869, allocations: 340.5 kB / 408.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.0925, allocations: 4.002 MB / 412.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/0.09321, allocations: 1.053 MB / 413.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.09342, allocations: 108.5 kB / 414 MB, free: 5.461 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.09342, allocations: 4 kB / 414 MB, free: 5.457 MB / 378.7 MB Notification: Performance of Templates: time 0.1687/0.2621, allocations: 70.7 MB / 484.7 MB, free: 96.64 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.650991763919592]