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.001581/0.001581, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001715/0.001715, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.001533/0.001533, allocations: 51.92 kB / 379.1 MB, free: 2.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2265, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04525/0.2718, allocations: 39.16 MB / 471.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02255/0.2943, allocations: 10.36 MB / 482 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00701/0.3013, allocations: 358.1 kB / 482.3 MB, free: 4.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02509/0.3264, allocations: 10.36 MB / 492.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.3405, allocations: 4.219 MB / 496.9 MB, free: 6.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00771/0.3482, allocations: 2.492 MB / 499.4 MB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02357/0.3717, allocations: 16.66 MB / 0.5039 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04102/0.4127, allocations: 20.6 MB / 0.524 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01626/0.429, allocations: 8.716 MB / 0.5326 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4124/0.8414, allocations: 9.607 MB / 0.5419 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007316/0.8488, allocations: 2.417 MB / 0.5443 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009133/0.8579, allocations: 2.85 MB / 0.5471 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007406/0.8653, allocations: 4.824 MB / 0.5518 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01612/0.8814, allocations: 9.208 MB / 0.5608 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03059/0.912, allocations: 32.24 MB / 0.5923 GB, free: 9.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.912, allocations: 3.375 kB / 0.5923 GB, free: 9.004 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.912, allocations: 7.812 kB / 0.5923 GB, free: 9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009414/0.913, allocations: 2.125 kB / 0.5923 GB, free: 9 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.05201/0.965, allocations: 18.98 MB / 0.6108 GB, free: 11.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.965, allocations: 8.031 kB / 0.6108 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04646/1.011, allocations: 8.289 MB / 0.6189 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02532/1.037, allocations: 10.37 MB / 0.6291 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001316/1.038, allocations: 1.059 MB / 0.6301 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005389/1.044, allocations: 1.402 MB / 0.6315 GB, free: 7.074 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.058/1.101, allocations: 22.8 MB / 0.6537 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006212/1.102, allocations: 15.95 kB / 0.6537 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004303/1.106, allocations: 0.5782 MB / 0.6543 GB, free: 15.66 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009286/1.107, allocations: 0.7793 MB / 0.6551 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04632/1.154, allocations: 21.06 MB / 0.6756 GB, free: 9.812 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1381/1.292, allocations: 71.08 MB / 0.745 GB, free: 2.574 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2482/1.54, allocations: 13.97 MB / 0.7587 GB, free: 193.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006909/1.547, allocations: 4.736 MB / 0.7633 GB, free: 191.8 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02094/1.568, allocations: 12.66 MB / 0.7757 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/1.568, allocations: 96.42 kB / 0.7758 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.933e-06/1.568, allocations: 1.031 kB / 0.7758 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05105/1.619, allocations: 25.86 MB / 0.801 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/1.619, allocations: 137.2 kB / 0.8012 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007854/1.627, allocations: 5.792 MB / 0.8068 GB, free: 172.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009661/1.628, allocations: 105.7 kB / 0.8069 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002836/1.631, allocations: 6.371 MB / 0.8131 GB, free: 167 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.632, allocations: 1.815 MB / 0.8149 GB, free: 165.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001994/1.634, allocations: 1.483 MB / 0.8164 GB, free: 164 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.528e-05/1.634, allocations: 305.1 kB / 0.8167 GB, free: 163.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004513/1.639, allocations: 3.637 MB / 0.8202 GB, free: 160.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005597/1.644, allocations: 6.482 MB / 0.8265 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/1.655, allocations: 10.79 MB / 0.8371 GB, free: 140.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.449e-05/1.655, allocations: 28 kB / 0.8371 GB, free: 140.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01753/1.673, allocations: 12.02 MB / 0.8488 GB, free: 128.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/1.673, allocations: 45.94 kB / 0.8489 GB, free: 128.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.673, allocations: 96 kB / 0.849 GB, free: 128.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003644/1.677, allocations: 1.589 MB / 0.8505 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005592/1.682, allocations: 1.669 MB / 0.8522 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/1.7, allocations: 19.14 MB / 0.8708 GB, free: 105.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006326/1.707, allocations: 419.5 kB / 0.8712 GB, free: 104.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/1.708, allocations: 371.9 kB / 0.8716 GB, free: 104.4 MB / 0.5763 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.008705/1.717, allocations: 5.201 MB / 0.8767 GB, free: 99.17 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/1.718, allocations: 0.6249 MB / 0.8773 GB, free: 98.54 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/1.734, allocations: 9.153 MB / 0.8862 GB, free: 89.33 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008255/1.742, allocations: 5.86 MB / 0.892 GB, free: 83.43 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-05/1.742, allocations: 16 kB / 0.892 GB, free: 83.42 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.041e-05/1.742, allocations: 31.89 kB / 0.892 GB, free: 83.39 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04077/1.783, allocations: 20.93 MB / 0.9124 GB, free: 62.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/1.783, allocations: 15.92 kB / 0.9124 GB, free: 62.38 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/1.787, allocations: 0.8703 MB / 0.9133 GB, free: 61.51 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004074/1.791, allocations: 1.635 MB / 0.9149 GB, free: 59.86 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006199/1.791, allocations: 124 kB / 0.915 GB, free: 59.73 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/1.811, allocations: 22.49 MB / 0.937 GB, free: 36.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.811, allocations: 11.94 kB / 0.937 GB, free: 36.46 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/1.828, allocations: 13.56 MB / 0.9502 GB, free: 22.57 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003621/1.832, allocations: 1.363 MB / 0.9516 GB, free: 21.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001343/1.833, allocations: 108 kB / 0.9517 GB, free: 21.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/1.837, allocations: 279.7 kB / 0.9519 GB, free: 20.82 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007942/1.837, allocations: 440.1 kB / 0.9524 GB, free: 20.39 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002997/1.838, allocations: 160 kB / 0.9525 GB, free: 20.23 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005165/1.843, allocations: 3.908 MB / 0.9563 GB, free: 16.36 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.3e-07/1.843, allocations: 0 / 0.9563 GB, free: 16.36 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008886/1.852, allocations: 2.332 MB / 0.9586 GB, free: 14.02 MB / 0.5763 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.0011/1.853, allocations: 327.7 kB / 0.9589 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01316/1.866, allocations: 9.449 MB / 0.9681 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.866, allocations: 0 / 0.9681 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.2372/2.103, allocations: 5.144 MB / 0.9732 GB, free: 181.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008342/2.111, allocations: 1.647 MB / 0.9748 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04175/2.153, allocations: 24.72 MB / 0.9989 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/2.164, allocations: 8.578 MB / 1.007 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002289/2.167, allocations: 0.5453 MB / 1.008 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.342e-06/2.167, allocations: 0 / 1.008 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of Templates: time 1.351/3.518, allocations: 0.6725 GB / 1.68 GB, free: 191.3 MB / 0.6075 GB " [Timeout remaining time 656] 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/jenkins1/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/jenkins1/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: 25.55140326707624]