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.00175/0.00175, allocations: 103.6 kB / 21.18 MB, free: 332 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.002504/0.002504, allocations: 210.7 kB / 24.47 MB, free: 3.547 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.534/1.534, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.002116/0.002116, allocations: 59.91 kB / 347.7 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3837, allocations: 49.16 MB / 396.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04692/0.4306, allocations: 32.89 MB / 429.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03525/0.4658, allocations: 9.753 MB / 439.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01439/0.4802, allocations: 302.2 kB / 439.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02962/0.5098, allocations: 9.604 MB / 449.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02378/0.5336, allocations: 4.138 MB / 453.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01185/0.5455, allocations: 2.433 MB / 456 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.03412/0.5796, allocations: 16.66 MB / 472.7 MB, free: 7.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06001/0.6396, allocations: 20.31 MB / 493 MB, free: 2.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01993/0.6595, allocations: 8.782 MB / 0.49 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02088/0.6804, allocations: 9.14 MB / 0.4989 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009762/0.6902, allocations: 2.422 MB / 0.5013 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01367/0.7038, allocations: 2.8 MB / 0.504 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01151/0.7153, allocations: 4.886 MB / 0.5088 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02275/0.7381, allocations: 7.234 MB / 0.5159 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05582/0.7939, allocations: 32.34 MB / 0.5474 GB, free: 14.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.7939, allocations: 0 / 0.5474 GB, free: 14.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7939, allocations: 0 / 0.5474 GB, free: 14.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001104/0.795, allocations: 0 / 0.5474 GB, free: 14.98 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.6091/1.404, allocations: 19.1 MB / 0.5661 GB, free: 124.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.658e-05/1.404, allocations: 13.55 kB / 0.5661 GB, free: 124.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05871/1.463, allocations: 9.362 MB / 0.5752 GB, free: 122.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03203/1.495, allocations: 9.276 MB / 0.5843 GB, free: 117.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001661/1.497, allocations: 1.068 MB / 0.5853 GB, free: 117.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008865/1.506, allocations: 1.42 MB / 0.5867 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06637/1.572, allocations: 23.5 MB / 0.6097 GB, free: 94.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008145/1.573, allocations: 23.88 kB / 0.6097 GB, free: 94.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006614/1.579, allocations: 0.588 MB / 0.6103 GB, free: 93.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000863/1.58, allocations: 0.8032 MB / 0.6111 GB, free: 92.92 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04486/1.625, allocations: 21.6 MB / 0.6322 GB, free: 71.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1047/1.73, allocations: 63.92 MB / 0.6946 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02637/1.756, allocations: 15.82 MB / 0.71 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009779/1.766, allocations: 4.863 MB / 0.7148 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03262/1.799, allocations: 13.85 MB / 0.7283 GB, free: 7.246 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/1.799, allocations: 90.77 kB / 0.7284 GB, free: 7.145 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=498): time 8.085e-06/1.799, allocations: 0 / 0.7284 GB, free: 7.145 MB / 0.4982 GB Notification: Performance of matching and sorting (n=506): time 0.06689/1.866, allocations: 26.35 MB / 0.7541 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.866, allocations: 133.3 kB / 0.7543 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.876, allocations: 5.645 MB / 0.7598 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.877, allocations: 109.7 kB / 0.7599 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005702/1.883, allocations: 6.514 MB / 0.7662 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.269/2.152, allocations: 1.813 MB / 0.768 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003153/2.155, allocations: 1.532 MB / 0.7695 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/2.155, allocations: 305.8 kB / 0.7698 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006493/2.161, allocations: 3.69 MB / 0.7734 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008534/2.17, allocations: 6.822 MB / 0.7801 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/2.184, allocations: 11.14 MB / 0.7909 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002389/2.185, allocations: 29.59 kB / 0.791 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01955/2.204, allocations: 12.26 MB / 0.803 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/2.204, allocations: 51.16 kB / 0.803 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/2.204, allocations: 101.2 kB / 0.8031 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004048/2.208, allocations: 1.599 MB / 0.8047 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007003/2.215, allocations: 1.746 MB / 0.8064 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/2.237, allocations: 18.73 MB / 0.8247 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007604/2.245, allocations: 435.8 kB / 0.8251 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/2.246, allocations: 395.3 kB / 0.8254 GB, free: 138.4 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.01076/2.257, allocations: 5.239 MB / 0.8306 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/2.259, allocations: 0.6088 MB / 0.8312 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/2.274, allocations: 9.138 MB / 0.8401 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007771/2.282, allocations: 5.829 MB / 0.8458 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.372e-05/2.282, allocations: 20 kB / 0.8458 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.044e-05/2.282, allocations: 31.89 kB / 0.8458 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03232/2.314, allocations: 17.98 MB / 0.8634 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/2.314, allocations: 18.94 kB / 0.8634 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/2.318, allocations: 0.8587 MB / 0.8642 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00424/2.322, allocations: 1.631 MB / 0.8658 GB, free: 98.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005936/2.323, allocations: 124 kB / 0.866 GB, free: 98.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/2.344, allocations: 22 MB / 0.8874 GB, free: 75.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/2.344, allocations: 12.2 kB / 0.8874 GB, free: 75.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02103/2.365, allocations: 13.52 MB / 0.9006 GB, free: 62.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004262/2.369, allocations: 1.297 MB / 0.9019 GB, free: 60.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/2.371, allocations: 112 kB / 0.902 GB, free: 60.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003835/2.375, allocations: 279.7 kB / 0.9023 GB, free: 60.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/2.376, allocations: 440.1 kB / 0.9027 GB, free: 59.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003482/2.376, allocations: 152 kB / 0.9029 GB, free: 59.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00633/2.382, allocations: 3.655 MB / 0.9064 GB, free: 56.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/2.382, allocations: 3.938 kB / 0.9064 GB, free: 56.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0121/2.395, allocations: 2.36 MB / 0.9087 GB, free: 53.85 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.001581/2.396, allocations: 303 kB / 0.909 GB, free: 53.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01661/2.413, allocations: 9.563 MB / 0.9184 GB, free: 43.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/2.413, allocations: 4 kB / 0.9184 GB, free: 43.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009022/2.422, allocations: 5.147 MB / 0.9234 GB, free: 38.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/2.432, allocations: 1.446 MB / 0.9248 GB, free: 37.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04938/2.482, allocations: 25.48 MB / 0.9497 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01311/2.495, allocations: 8.577 MB / 0.9581 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007097/2.502, allocations: 2.545 MB / 0.9605 GB, free: 496 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/2.503, allocations: 447.4 kB / 0.961 GB, free: 52 kB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/2.503, allocations: 0 / 0.961 GB, free: 52 kB / 0.5294 GB Notification: Performance of Templates: time 0.4512/2.955, allocations: 103.2 MB / 1.062 GB, free: 110.9 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.455836333334446]