Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008135/0.0008135, allocations: 83.62 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003718/0.003718, allocations: 160.1 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8708/0.8708, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.875e-05, allocations: 5.234 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02295/0.02297, allocations: 33.46 MB / 359.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.04014, allocations: 10.03 MB / 369.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006618/0.04676, allocations: 358.1 kB / 369.7 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.0581, allocations: 10.1 MB / 379.8 MB, free: 9.234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.06917, allocations: 4.238 MB / 384.1 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.07365, allocations: 2.431 MB / 386.5 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01461/0.08826, allocations: 17.25 MB / 403.7 MB, free: 1.246 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02201/0.1103, allocations: 20.36 MB / 424.1 MB, free: 12.67 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/0.1251, allocations: 12.78 MB / 436.9 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/0.1353, allocations: 8.135 MB / 445 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003236/0.1385, allocations: 2.414 MB / 447.4 MB, free: 5.301 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/0.1425, allocations: 2.839 MB / 450.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3092/0.4518, allocations: 4.905 MB / 455.2 MB, free: 45.55 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01572/0.4675, allocations: 6.19 MB / 461.4 MB, free: 45.55 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02426/0.4918, allocations: 32.63 MB / 494 MB, free: 36.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4918, allocations: 0 / 494 MB, free: 36.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4918, allocations: 0.75 kB / 494 MB, free: 36.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.000916/0.4927, allocations: 0 / 494 MB, free: 36.16 MB / 410.8 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.03798/0.5307, allocations: 18.83 MB / 0.5008 GB, free: 24.34 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5307, allocations: 11.47 kB / 0.5008 GB, free: 24.34 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02116/0.5519, allocations: 8.287 MB / 0.5089 GB, free: 19.81 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/0.5699, allocations: 10.34 MB / 0.519 GB, free: 9.895 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005852/0.5705, allocations: 1.07 MB / 0.52 GB, free: 8.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005546/0.576, allocations: 1.403 MB / 0.5214 GB, free: 7.449 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04411/0.6201, allocations: 23.09 MB / 0.544 GB, free: 236 kB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/0.6203, allocations: 23.89 kB / 0.544 GB, free: 212 kB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001315/0.6217, allocations: 0.58 MB / 0.5446 GB, free: 15.65 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000494/0.6222, allocations: 0.7715 MB / 0.5453 GB, free: 14.88 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03105/0.6532, allocations: 20.99 MB / 0.5658 GB, free: 9.891 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2764/0.9296, allocations: 63.07 MB / 0.6274 GB, free: 143.1 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.9429, allocations: 13.87 MB / 0.6409 GB, free: 142.5 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/0.9468, allocations: 4.733 MB / 0.6456 GB, free: 142.5 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.9586, allocations: 11.42 MB / 0.6567 GB, free: 141.9 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.9587, allocations: 90.52 kB / 0.6568 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=498): time 5.811e-06/0.9587, allocations: 0 / 0.6568 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=506): time 0.0298/0.9885, allocations: 25.82 MB / 0.682 GB, free: 132.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.9885, allocations: 133.3 kB / 0.6821 GB, free: 132.1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004607/0.9931, allocations: 5.516 MB / 0.6875 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.9934, allocations: 105.7 kB / 0.6876 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.995, allocations: 6.366 MB / 0.6938 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006596/0.9956, allocations: 1.794 MB / 0.6956 GB, free: 119.8 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.9969, allocations: 1.47 MB / 0.697 GB, free: 118.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.981e-05/0.997, allocations: 310.3 kB / 0.6973 GB, free: 118 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/0.9998, allocations: 3.634 MB / 0.7009 GB, free: 114.3 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/1.003, allocations: 6.536 MB / 0.7073 GB, free: 106.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00686/1.01, allocations: 10.78 MB / 0.7178 GB, free: 94.38 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-05/1.01, allocations: 28 kB / 0.7178 GB, free: 94.35 MB / 0.4949 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0107/1.021, allocations: 11.98 MB / 0.7295 GB, free: 82.32 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/1.021, allocations: 47.94 kB / 0.7296 GB, free: 82.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.845e-05/1.021, allocations: 92 kB / 0.7297 GB, free: 82.18 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/1.023, allocations: 1.6 MB / 0.7312 GB, free: 80.57 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/1.026, allocations: 1.673 MB / 0.7329 GB, free: 78.89 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/1.037, allocations: 18.7 MB / 0.7511 GB, free: 59.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/1.041, allocations: 429.6 kB / 0.7515 GB, free: 59.29 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003434/1.041, allocations: 375.9 kB / 0.7519 GB, free: 58.92 MB / 0.4949 GB 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.006068/1.047, allocations: 5.184 MB / 0.7569 GB, free: 53.72 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007476/1.048, allocations: 0.5989 MB / 0.7575 GB, free: 53.12 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008266/1.056, allocations: 9.13 MB / 0.7664 GB, free: 43.93 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004898/1.061, allocations: 5.856 MB / 0.7722 GB, free: 38.04 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/1.061, allocations: 20 kB / 0.7722 GB, free: 38.02 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/1.061, allocations: 23.91 kB / 0.7722 GB, free: 38 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/1.079, allocations: 17.99 MB / 0.7898 GB, free: 19.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.079, allocations: 4 kB / 0.7898 GB, free: 19.96 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.081, allocations: 0.8698 MB / 0.7906 GB, free: 19.09 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/1.083, allocations: 1.641 MB / 0.7922 GB, free: 17.43 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/1.083, allocations: 135.9 kB / 0.7924 GB, free: 17.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.183/1.266, allocations: 21.97 MB / 0.8138 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/1.266, allocations: 10.66 kB / 0.8138 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.28, allocations: 13.53 MB / 0.827 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.282, allocations: 1.308 MB / 0.8283 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/1.283, allocations: 106.5 kB / 0.8284 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.284, allocations: 279 kB / 0.8287 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005863/1.285, allocations: 438.8 kB / 0.8291 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/1.285, allocations: 162.6 kB / 0.8292 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003662/1.289, allocations: 3.589 MB / 0.8328 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.51e-07/1.289, allocations: 0 / 0.8328 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00626/1.295, allocations: 2.328 MB / 0.835 GB, free: 141.1 MB / 0.4949 GB 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.000525/1.296, allocations: 321.3 kB / 0.8353 GB, free: 140.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008322/1.304, allocations: 9.444 MB / 0.8446 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.304, allocations: 7.906 kB / 0.8446 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004139/1.308, allocations: 5.141 MB / 0.8496 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/1.311, allocations: 1.434 MB / 0.851 GB, free: 134.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02491/1.336, allocations: 24.42 MB / 0.8748 GB, free: 112.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004885/1.341, allocations: 8.212 MB / 0.8828 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/1.343, allocations: 0.5298 MB / 0.8834 GB, free: 105.6 MB / 0.4949 GB Notification: Performance of SimCode: time 1.232e-06/1.343, allocations: 0 / 0.8834 GB, free: 105.6 MB / 0.4949 GB Notification: Performance of Templates: time 1.068/2.411, allocations: 0.6737 GB / 1.557 GB, free: 22.3 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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: 21.039681795053184]