Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001256/0.001256, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.001363/0.001363, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 67.89 kB / 347.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3293, allocations: 49.14 MB / 396.9 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.05254/0.3818, allocations: 38.58 MB / 435.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03447/0.4163, allocations: 10.05 MB / 445.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0151/0.4314, allocations: 306.2 kB / 445.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03202/0.4634, allocations: 10.34 MB / 456.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02412/0.4876, allocations: 4.258 MB / 460.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.4994, allocations: 2.492 MB / 462.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.03547/0.5348, allocations: 16.67 MB / 479.5 MB, free: 436 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04844/0.5833, allocations: 19.34 MB / 498.9 MB, free: 12.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02054/0.6038, allocations: 8.774 MB / 0.4958 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01996/0.6238, allocations: 9.546 MB / 0.5051 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01204/0.6358, allocations: 2.43 MB / 0.5075 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01357/0.6494, allocations: 2.839 MB / 0.5102 GB, free: 5.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01242/0.6618, allocations: 4.882 MB / 0.515 GB, free: 312 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02862/0.6904, allocations: 9.284 MB / 0.5241 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06257/0.753, allocations: 32.21 MB / 0.5555 GB, free: 6.664 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.753, allocations: 0 / 0.5555 GB, free: 6.664 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.753, allocations: 0 / 0.5555 GB, free: 6.664 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001145/0.7542, allocations: 8 kB / 0.5555 GB, free: 6.656 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.5873/1.341, allocations: 19.12 MB / 0.5742 GB, free: 127.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.342, allocations: 12.27 kB / 0.5742 GB, free: 127.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05187/1.393, allocations: 9.366 MB / 0.5834 GB, free: 123.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02278/1.416, allocations: 9.301 MB / 0.5924 GB, free: 114.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/1.417, allocations: 1.071 MB / 0.5935 GB, free: 113.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007474/1.425, allocations: 1.412 MB / 0.5949 GB, free: 112.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06535/1.49, allocations: 23.21 MB / 0.6175 GB, free: 88.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007402/1.491, allocations: 19.91 kB / 0.6175 GB, free: 88.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006276/1.497, allocations: 0.5849 MB / 0.6181 GB, free: 88.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008126/1.498, allocations: 0.8071 MB / 0.6189 GB, free: 87.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04463/1.542, allocations: 21.69 MB / 0.6401 GB, free: 65.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1285/1.671, allocations: 72.05 MB / 0.7104 GB, free: 9.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02984/1.701, allocations: 15.98 MB / 0.726 GB, free: 11.93 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/1.711, allocations: 4.871 MB / 0.7308 GB, free: 7.031 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03467/1.746, allocations: 15.1 MB / 0.7455 GB, free: 8.012 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.864e-05/1.746, allocations: 94.75 kB / 0.7456 GB, free: 7.906 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 9.237e-06/1.746, allocations: 3.984 kB / 0.7456 GB, free: 7.902 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.3494/2.095, allocations: 26.37 MB / 0.7714 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/2.095, allocations: 129.2 kB / 0.7715 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/2.11, allocations: 5.912 MB / 0.7773 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/2.111, allocations: 108.8 kB / 0.7774 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003972/2.115, allocations: 6.505 MB / 0.7837 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001979/2.117, allocations: 1.817 MB / 0.7855 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002474/2.119, allocations: 1.535 MB / 0.787 GB, free: 166 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/2.119, allocations: 303.7 kB / 0.7873 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005565/2.125, allocations: 3.694 MB / 0.7909 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006282/2.131, allocations: 6.767 MB / 0.7975 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/2.143, allocations: 11.15 MB / 0.8084 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/2.144, allocations: 29.47 kB / 0.8084 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02339/2.167, allocations: 12.29 MB / 0.8204 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/2.167, allocations: 46.94 kB / 0.8205 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002233/2.167, allocations: 103.2 kB / 0.8206 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004457/2.172, allocations: 1.607 MB / 0.8222 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00681/2.179, allocations: 1.737 MB / 0.8239 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/2.2, allocations: 19.14 MB / 0.8425 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007398/2.207, allocations: 435.6 kB / 0.843 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/2.209, allocations: 396 kB / 0.8433 GB, free: 126 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (904): * Single equations (assignments): 897 * 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,54.2%), (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.01096/2.22, allocations: 5.257 MB / 0.8485 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002382/2.222, allocations: 0.6327 MB / 0.8491 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01883/2.241, allocations: 9.163 MB / 0.858 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009968/2.251, allocations: 5.829 MB / 0.8637 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.922e-05/2.251, allocations: 20 kB / 0.8637 GB, free: 105 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/2.251, allocations: 27.89 kB / 0.8638 GB, free: 105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04644/2.298, allocations: 20.95 MB / 0.8842 GB, free: 84.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/2.298, allocations: 8 kB / 0.8842 GB, free: 84.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004015/2.302, allocations: 0.8659 MB / 0.8851 GB, free: 83.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005093/2.307, allocations: 1.635 MB / 0.8867 GB, free: 81.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001449/2.308, allocations: 124 kB / 0.8868 GB, free: 81.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02289/2.331, allocations: 22.5 MB / 0.9088 GB, free: 58.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/2.331, allocations: 11.94 kB / 0.9088 GB, free: 58.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/2.355, allocations: 13.55 MB / 0.922 GB, free: 44.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00508/2.36, allocations: 1.349 MB / 0.9233 GB, free: 42.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00214/2.363, allocations: 104 kB / 0.9234 GB, free: 42.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004194/2.367, allocations: 287.7 kB / 0.9237 GB, free: 42.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/2.368, allocations: 428.2 kB / 0.9241 GB, free: 42.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000624/2.369, allocations: 152 kB / 0.9243 GB, free: 41.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007578/2.376, allocations: 3.973 MB / 0.9281 GB, free: 37.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/2.376, allocations: 4 kB / 0.9281 GB, free: 37.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0102/2.386, allocations: 2.373 MB / 0.9305 GB, free: 35.6 MB / 0.5294 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,13,100.0%), (1,5,100.0%), (1,8,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.001015/2.387, allocations: 317.1 kB / 0.9308 GB, free: 35.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01492/2.402, allocations: 9.571 MB / 0.9401 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.402, allocations: 4 kB / 0.9401 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007645/2.41, allocations: 5.142 MB / 0.9451 GB, free: 20.42 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/2.42, allocations: 1.641 MB / 0.9467 GB, free: 18.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05118/2.472, allocations: 25.54 MB / 0.9717 GB, free: 9.105 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01559/2.487, allocations: 8.929 MB / 0.9804 GB, free: 136 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2697/2.757, allocations: 2.583 MB / 0.9829 GB, free: 166.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002862/2.76, allocations: 467.9 kB / 0.9834 GB, free: 166.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.823e-06/2.76, allocations: 0 / 0.9834 GB, free: 166.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1697/2.929, allocations: 101.4 MB / 1.082 GB, free: 93.95 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.38855970557779]