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.00193/0.00193, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.002377/0.002377, allocations: 213.3 kB / 23.72 MB, free: 4.531 MB / 14.72 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 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001586/0.001586, allocations: 47.86 kB / 378.3 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2393, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04143/0.2807, allocations: 33.4 MB / 465 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.3039, allocations: 10.03 MB / 475.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007294/0.3112, allocations: 358.1 kB / 475.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02484/0.336, allocations: 9.595 MB / 485 MB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.3505, allocations: 4.16 MB / 489.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008133/0.3586, allocations: 2.424 MB / 491.6 MB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02306/0.3817, allocations: 16.66 MB / 0.4963 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04098/0.4227, allocations: 20.59 MB / 0.5164 GB, free: 5.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01623/0.4389, allocations: 8.732 MB / 0.525 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01671/0.4556, allocations: 9.593 MB / 0.5343 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006811/0.4624, allocations: 2.418 MB / 0.5367 GB, free: 236 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2325/0.6949, allocations: 2.823 MB / 0.5395 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007096/0.702, allocations: 4.818 MB / 0.5442 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01664/0.7187, allocations: 7.171 MB / 0.5512 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03295/0.7516, allocations: 32.37 MB / 0.5828 GB, free: 22.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7516, allocations: 4.562 kB / 0.5828 GB, free: 22.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.7516, allocations: 0 / 0.5828 GB, free: 22.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008195/0.7525, allocations: 0.8125 kB / 0.5828 GB, free: 22.81 MB / 446.1 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.05652/0.809, allocations: 18.97 MB / 0.6013 GB, free: 10.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.809, allocations: 13.66 kB / 0.6013 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04795/0.857, allocations: 8.282 MB / 0.6094 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02561/0.8826, allocations: 10.35 MB / 0.6195 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001266/0.8838, allocations: 1.061 MB / 0.6205 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005792/0.8896, allocations: 1.396 MB / 0.6219 GB, free: 8.555 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0634/0.953, allocations: 23.1 MB / 0.6445 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009072/0.9539, allocations: 19.91 kB / 0.6445 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005519/0.9595, allocations: 0.578 MB / 0.645 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001049/0.9605, allocations: 0.7751 MB / 0.6458 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05095/1.011, allocations: 20.98 MB / 0.6663 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/1.148, allocations: 63.03 MB / 0.7278 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02653/1.175, allocations: 13.88 MB / 0.7414 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009617/1.184, allocations: 4.726 MB / 0.746 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2517/1.436, allocations: 11.42 MB / 0.7572 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.951e-05/1.436, allocations: 94.23 kB / 0.7573 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=498): time 8.856e-06/1.436, allocations: 0 / 0.7573 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=506): time 0.05342/1.49, allocations: 25.83 MB / 0.7825 GB, free: 191.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/1.49, allocations: 135.4 kB / 0.7826 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007032/1.497, allocations: 5.513 MB / 0.788 GB, free: 189 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007495/1.497, allocations: 105.3 kB / 0.7881 GB, free: 188.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002614/1.5, allocations: 6.387 MB / 0.7943 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.502, allocations: 1.82 MB / 0.7961 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002051/1.504, allocations: 1.479 MB / 0.7975 GB, free: 182 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.898e-05/1.504, allocations: 305.1 kB / 0.7978 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004543/1.508, allocations: 3.636 MB / 0.8014 GB, free: 180.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005444/1.514, allocations: 6.533 MB / 0.8078 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.524, allocations: 10.79 MB / 0.8183 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.983e-05/1.524, allocations: 24 kB / 0.8183 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01692/1.541, allocations: 11.99 MB / 0.83 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/1.541, allocations: 47.94 kB / 0.8301 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/1.541, allocations: 96 kB / 0.8302 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/1.545, allocations: 1.587 MB / 0.8317 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005312/1.55, allocations: 1.672 MB / 0.8334 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/1.569, allocations: 18.71 MB / 0.8516 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00574/1.574, allocations: 431.6 kB / 0.852 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/1.575, allocations: 371.9 kB / 0.8524 GB, free: 131 MB / 0.5762 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.007748/1.583, allocations: 5.195 MB / 0.8575 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/1.584, allocations: 0.5975 MB / 0.8581 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.598, allocations: 9.138 MB / 0.867 GB, free: 116 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007998/1.606, allocations: 5.856 MB / 0.8727 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-05/1.606, allocations: 20 kB / 0.8727 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.636e-05/1.606, allocations: 23.91 kB / 0.8727 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02891/1.635, allocations: 17.97 MB / 0.8903 GB, free: 92.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/1.635, allocations: 11.5 kB / 0.8903 GB, free: 92.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003474/1.638, allocations: 0.8745 MB / 0.8912 GB, free: 91.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004094/1.643, allocations: 1.634 MB / 0.8928 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005406/1.643, allocations: 131.9 kB / 0.8929 GB, free: 89.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/1.663, allocations: 21.99 MB / 0.9144 GB, free: 66.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.663, allocations: 4 kB / 0.9144 GB, free: 66.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/1.681, allocations: 13.54 MB / 0.9276 GB, free: 52.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003634/1.685, allocations: 1.303 MB / 0.9289 GB, free: 51.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/1.686, allocations: 112 kB / 0.929 GB, free: 51.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/1.69, allocations: 275.7 kB / 0.9292 GB, free: 51.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/1.691, allocations: 440.1 kB / 0.9296 GB, free: 50.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/1.691, allocations: 160 kB / 0.9298 GB, free: 50.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005276/1.696, allocations: 3.59 MB / 0.9333 GB, free: 47.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.696, allocations: 4 kB / 0.9333 GB, free: 47.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008162/1.704, allocations: 2.332 MB / 0.9356 GB, free: 44.69 MB / 0.5762 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.000929/1.705, allocations: 310.9 kB / 0.9359 GB, free: 44.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01411/1.719, allocations: 9.458 MB / 0.9451 GB, free: 34.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.08e-05/1.719, allocations: 4 kB / 0.9451 GB, free: 34.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01249/1.732, allocations: 5.152 MB / 0.9501 GB, free: 29.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01173/1.744, allocations: 1.436 MB / 0.9515 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05318/1.797, allocations: 25.05 MB / 0.976 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2197/2.017, allocations: 8.486 MB / 0.9843 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006324/2.023, allocations: 2.48 MB / 0.9867 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/2.025, allocations: 469 kB / 0.9872 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.793e-06/2.025, allocations: 0 / 0.9872 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1499/2.175, allocations: 107.2 MB / 1.092 GB, free: 94.8 MB / 0.5762 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: 9.641601335722953]