Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001025/0.001025, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001267/0.001267, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.837e-06/3.837e-06, allocations: 4 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.406e-05, allocations: 2.312 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1757/0.1757, allocations: 38.28 MB / 311.2 MB, free: 7.977 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02046/0.1962, allocations: 10.28 MB / 321.5 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008515/0.2047, allocations: 355.8 kB / 321.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01502/0.2197, allocations: 10.9 MB / 332.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.2329, allocations: 4.258 MB / 337 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006464/0.2394, allocations: 2.465 MB / 339.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01916/0.2586, allocations: 17.26 MB / 356.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03293/0.2915, allocations: 20.39 MB / 377.1 MB, free: 9.922 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02479/0.3163, allocations: 12.9 MB / 390 MB, free: 13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01456/0.3308, allocations: 9.025 MB / 399.1 MB, free: 3.961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006499/0.3373, allocations: 2.414 MB / 401.5 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009254/0.3466, allocations: 2.831 MB / 404.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007548/0.3541, allocations: 4.999 MB / 409.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01302/0.3672, allocations: 6.265 MB / 415.6 MB, free: 3.426 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02259/0.3897, allocations: 15.4 MB / 431 MB, free: 3.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.3898, allocations: 0 / 431 MB, free: 3.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3898, allocations: 0 / 431 MB, free: 3.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007567/0.3905, allocations: 0 / 431 MB, free: 3.984 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.3081/0.6986, allocations: 20.02 MB / 451 MB, free: 79.8 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.6986, allocations: 17.73 kB / 451 MB, free: 79.79 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03303/0.7317, allocations: 10.53 MB / 461.5 MB, free: 77.83 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/0.7495, allocations: 9.863 MB / 471.4 MB, free: 69.1 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001129/0.7506, allocations: 1.062 MB / 472.5 MB, free: 68.05 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004947/0.7556, allocations: 1.399 MB / 473.9 MB, free: 66.66 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03641/0.792, allocations: 12.3 MB / 486.2 MB, free: 54.22 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004675/0.7924, allocations: 23.89 kB / 486.2 MB, free: 54.2 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0032/0.7956, allocations: 0.5787 MB / 486.8 MB, free: 53.64 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004844/0.7961, allocations: 0.7754 MB / 487.5 MB, free: 52.86 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.8185, allocations: 6.642 MB / 494.2 MB, free: 46.21 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08296/0.9015, allocations: 58.11 MB / 0.5394 GB, free: 4.188 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/0.9165, allocations: 11.62 MB / 0.5507 GB, free: 10.52 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005484/0.9219, allocations: 2.256 MB / 0.5529 GB, free: 8.262 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01559/0.9375, allocations: 8.292 MB / 0.561 GB, free: 136 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.455e-05/0.9376, allocations: 101.3 kB / 0.5611 GB, free: 28 kB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 7.515e-06/0.9376, allocations: 0 / 0.5611 GB, free: 28 kB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.2329/1.171, allocations: 16.97 MB / 0.5777 GB, free: 101.6 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/1.171, allocations: 129.3 kB / 0.5778 GB, free: 101.5 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009659/1.18, allocations: 4.981 MB / 0.5827 GB, free: 101.1 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001067/1.181, allocations: 106.5 kB / 0.5828 GB, free: 101.1 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003533/1.185, allocations: 6.686 MB / 0.5893 GB, free: 99.68 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002058/1.187, allocations: 1.858 MB / 0.5911 GB, free: 98.52 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002691/1.19, allocations: 1.63 MB / 0.5927 GB, free: 98.39 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/1.19, allocations: 482.4 kB / 0.5932 GB, free: 97.92 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/1.192, allocations: 1.152 MB / 0.5943 GB, free: 97.9 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/1.196, allocations: 5.429 MB / 0.5996 GB, free: 92.77 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007167/1.203, allocations: 7.256 MB / 0.6067 GB, free: 87.65 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/1.203, allocations: 30.06 kB / 0.6067 GB, free: 87.65 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01335/1.216, allocations: 7.095 MB / 0.6136 GB, free: 86.98 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/1.216, allocations: 43.56 kB / 0.6137 GB, free: 86.98 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/1.216, allocations: 93.69 kB / 0.6138 GB, free: 86.98 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003174/1.22, allocations: 1.391 MB / 0.6151 GB, free: 86.85 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/1.223, allocations: 1.668 MB / 0.6167 GB, free: 86.85 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/1.235, allocations: 15.55 MB / 0.6319 GB, free: 77.22 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/1.24, allocations: 421.7 kB / 0.6323 GB, free: 77.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.241, allocations: 374.2 kB / 0.6327 GB, free: 77.2 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[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 (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003992/1.245, allocations: 0.6499 MB / 0.6333 GB, free: 76.97 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.247, allocations: 0.7584 MB / 0.6341 GB, free: 76.64 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007642/1.254, allocations: 5.158 MB / 0.6391 GB, free: 74.65 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003822/1.258, allocations: 2.841 MB / 0.6419 GB, free: 72.26 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.337e-05/1.258, allocations: 16 kB / 0.6419 GB, free: 72.24 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/1.258, allocations: 30.34 kB / 0.6419 GB, free: 72.24 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/1.282, allocations: 14.95 MB / 0.6565 GB, free: 59.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/1.282, allocations: 11.94 kB / 0.6565 GB, free: 59.42 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/1.284, allocations: 0.8658 MB / 0.6574 GB, free: 58.6 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/1.287, allocations: 1.414 MB / 0.6587 GB, free: 57.17 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000369/1.288, allocations: 135.9 kB / 0.6589 GB, free: 57.04 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/1.3, allocations: 19.84 MB / 0.6783 GB, free: 36.46 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.3, allocations: 7.469 kB / 0.6783 GB, free: 36.46 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.31, allocations: 6.586 MB / 0.6847 GB, free: 29.59 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002703/1.313, allocations: 1.203 MB / 0.6859 GB, free: 28.38 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.314, allocations: 107.9 kB / 0.686 GB, free: 28.28 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/1.316, allocations: 286.4 kB / 0.6862 GB, free: 28 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007314/1.316, allocations: 435.4 kB / 0.6867 GB, free: 27.58 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/1.317, allocations: 160 kB / 0.6868 GB, free: 27.43 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003743/1.32, allocations: 2.36 MB / 0.6891 GB, free: 25.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.71e-07/1.32, allocations: 0 / 0.6891 GB, free: 25.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008109/1.329, allocations: 2.332 MB / 0.6914 GB, free: 22.75 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/1.33, allocations: 314.6 kB / 0.6917 GB, free: 22.49 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.009028/1.339, allocations: 6.021 MB / 0.6976 GB, free: 16.64 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.339, allocations: 0 / 0.6976 GB, free: 16.64 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004297/1.343, allocations: 3.877 MB / 0.7014 GB, free: 12.73 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/1.348, allocations: 1.493 MB / 0.7028 GB, free: 11.32 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/1.384, allocations: 21.13 MB / 0.7235 GB, free: 5.977 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007641/1.392, allocations: 3.815 MB / 0.7272 GB, free: 2.125 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00571/1.398, allocations: 2.122 MB / 0.7292 GB, free: 15.99 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.399, allocations: 468.3 kB / 0.7297 GB, free: 15.54 MB / 458.8 MB Notification: Performance of SimCode: time 2.756e-06/1.399, allocations: 0 / 0.7297 GB, free: 15.54 MB / 458.8 MB Notification: Performance of Templates: time 0.2778/1.676, allocations: 89 MB / 0.8166 GB, free: 80.48 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.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: 6.513438764959574]