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.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.001885/0.001885, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 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.00233/0.00233, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.561/1.561, allocations: 207.6 MB / 236 MB, free: 9.977 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 59.92 kB / 348.5 MB, free: 9.484 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.325, allocations: 49.16 MB / 397.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04419/0.3692, allocations: 38.59 MB / 436.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02817/0.3973, allocations: 10.04 MB / 446.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01109/0.4084, allocations: 302.2 kB / 446.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02726/0.4357, allocations: 10.36 MB / 456.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01846/0.4541, allocations: 4.235 MB / 461.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009778/0.4639, allocations: 2.495 MB / 463.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0291/0.493, allocations: 16.66 MB / 480.3 MB, free: 444 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04778/0.5408, allocations: 20.59 MB / 0.4892 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01968/0.5605, allocations: 8.778 MB / 0.4977 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02033/0.5808, allocations: 9.55 MB / 0.5071 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009302/0.5901, allocations: 2.426 MB / 0.5094 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/0.6026, allocations: 2.839 MB / 0.5122 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01298/0.6156, allocations: 4.89 MB / 0.517 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0241/0.6397, allocations: 9.276 MB / 0.5261 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05451/0.6942, allocations: 32.21 MB / 0.5575 GB, free: 5.449 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.6942, allocations: 4 kB / 0.5575 GB, free: 5.445 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6942, allocations: 0 / 0.5575 GB, free: 5.445 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.00112/0.6953, allocations: 0 / 0.5575 GB, free: 5.445 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.5611/1.256, allocations: 19.12 MB / 0.5762 GB, free: 128 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.257, allocations: 14.27 kB / 0.5762 GB, free: 128 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04963/1.306, allocations: 9.365 MB / 0.5853 GB, free: 123.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02044/1.327, allocations: 9.297 MB / 0.5944 GB, free: 114.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009549/1.328, allocations: 1.075 MB / 0.5955 GB, free: 113.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005932/1.333, allocations: 1.413 MB / 0.5969 GB, free: 112.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05619/1.39, allocations: 23.2 MB / 0.6195 GB, free: 88.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006305/1.39, allocations: 23.83 kB / 0.6195 GB, free: 88.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005374/1.396, allocations: 0.5845 MB / 0.6201 GB, free: 88.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007337/1.396, allocations: 0.8071 MB / 0.6209 GB, free: 87.47 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03933/1.436, allocations: 21.69 MB / 0.6421 GB, free: 65.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1735/1.609, allocations: 72.05 MB / 0.7124 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05424/1.663, allocations: 15.96 MB / 0.728 GB, free: 11.73 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01753/1.681, allocations: 4.871 MB / 0.7328 GB, free: 6.824 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06111/1.742, allocations: 15.1 MB / 0.7475 GB, free: 7.672 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/1.742, allocations: 90.77 kB / 0.7476 GB, free: 7.57 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 1.714e-05/1.742, allocations: 0 / 0.7476 GB, free: 7.57 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.4459/2.188, allocations: 26.37 MB / 0.7734 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/2.188, allocations: 133.8 kB / 0.7735 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/2.199, allocations: 5.916 MB / 0.7793 GB, free: 171 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009996/2.2, allocations: 108.5 kB / 0.7794 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004217/2.204, allocations: 6.503 MB / 0.7857 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002321/2.207, allocations: 1.824 MB / 0.7875 GB, free: 167 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002988/2.21, allocations: 1.53 MB / 0.789 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/2.21, allocations: 302.3 kB / 0.7893 GB, free: 166 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006325/2.216, allocations: 3.689 MB / 0.7929 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008037/2.224, allocations: 6.772 MB / 0.7995 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/2.237, allocations: 11.15 MB / 0.8104 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/2.237, allocations: 27.19 kB / 0.8104 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02027/2.257, allocations: 12.3 MB / 0.8224 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/2.257, allocations: 51.5 kB / 0.8225 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/2.257, allocations: 98.84 kB / 0.8226 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003975/2.261, allocations: 1.606 MB / 0.8241 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00642/2.268, allocations: 1.744 MB / 0.8259 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/2.287, allocations: 19.13 MB / 0.8445 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007863/2.295, allocations: 435.5 kB / 0.8449 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002139/2.297, allocations: 392 kB / 0.8453 GB, free: 125.7 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.01049/2.307, allocations: 5.254 MB / 0.8505 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001583/2.309, allocations: 0.6288 MB / 0.8511 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/2.323, allocations: 9.17 MB / 0.86 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007497/2.33, allocations: 5.825 MB / 0.8657 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-05/2.33, allocations: 23.19 kB / 0.8657 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.952e-05/2.33, allocations: 25.44 kB / 0.8658 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03593/2.366, allocations: 20.95 MB / 0.8862 GB, free: 83.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/2.366, allocations: 8 kB / 0.8862 GB, free: 83.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003497/2.37, allocations: 0.8628 MB / 0.8871 GB, free: 82.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004046/2.374, allocations: 1.647 MB / 0.8887 GB, free: 81.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005536/2.374, allocations: 124 kB / 0.8888 GB, free: 81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/2.395, allocations: 22.5 MB / 0.9108 GB, free: 57.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/2.395, allocations: 8 kB / 0.9108 GB, free: 57.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/2.414, allocations: 13.55 MB / 0.924 GB, free: 43.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004452/2.418, allocations: 1.347 MB / 0.9253 GB, free: 42.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001949/2.42, allocations: 112 kB / 0.9254 GB, free: 42.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004037/2.424, allocations: 283.7 kB / 0.9257 GB, free: 42.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00101/2.425, allocations: 436.1 kB / 0.9261 GB, free: 41.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003398/2.426, allocations: 152 kB / 0.9263 GB, free: 41.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005686/2.431, allocations: 3.969 MB / 0.9301 GB, free: 37.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/2.431, allocations: 4 kB / 0.9301 GB, free: 37.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0103/2.442, allocations: 2.363 MB / 0.9324 GB, free: 35.23 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.001417/2.443, allocations: 303.4 kB / 0.9327 GB, free: 34.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01483/2.458, allocations: 9.577 MB / 0.9421 GB, free: 25.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/2.458, allocations: 4 kB / 0.9421 GB, free: 25.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008498/2.466, allocations: 5.141 MB / 0.9471 GB, free: 20.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/2.477, allocations: 1.639 MB / 0.9487 GB, free: 18.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04325/2.52, allocations: 25.14 MB / 0.9733 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01439/2.535, allocations: 8.645 MB / 0.9817 GB, free: 460 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2198/2.754, allocations: 0.5188 MB / 0.9822 GB, free: 167.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/2.754, allocations: 0 / 0.9822 GB, free: 167.4 MB / 0.545 GB Notification: Performance of Templates: time 1.355/4.109, allocations: 0.675 GB / 1.657 GB, free: 183.8 MB / 0.5763 GB " [Timeout remaining time 656] 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/jenkins1/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/jenkins1/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: 28.87304149218835]