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.001425/0.001425, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001735/0.001735, allocations: 214.7 kB / 24.48 MB, free: 3.941 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 2.115/2.115, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001707/0.001707, allocations: 47.92 kB / 379 MB, free: 2.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.398, allocations: 53.36 MB / 432.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.05385/0.4518, allocations: 33.41 MB / 465.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02838/0.4802, allocations: 10.02 MB / 475.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008259/0.4885, allocations: 358.1 kB / 476.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02887/0.5174, allocations: 9.599 MB / 485.8 MB, free: 1.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01761/0.535, allocations: 4.156 MB / 489.9 MB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009691/0.5447, allocations: 2.43 MB / 492.3 MB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05684/0.6015, allocations: 16.65 MB / 0.4971 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09841/0.6999, allocations: 20.6 MB / 0.5172 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03775/0.7377, allocations: 8.72 MB / 0.5257 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04197/0.7796, allocations: 9.601 MB / 0.5351 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01926/0.7989, allocations: 2.414 MB / 0.5374 GB, free: 184 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5157/1.315, allocations: 2.828 MB / 0.5402 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0209/1.335, allocations: 4.82 MB / 0.5449 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02939/1.365, allocations: 7.172 MB / 0.5519 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04376/1.409, allocations: 32.37 MB / 0.5835 GB, free: 22.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.409, allocations: 0 / 0.5835 GB, free: 22.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/1.409, allocations: 0 / 0.5835 GB, free: 22.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009515/1.41, allocations: 0.8125 kB / 0.5835 GB, free: 22.77 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.07539/1.485, allocations: 18.97 MB / 0.602 GB, free: 10.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.485, allocations: 8.125 kB / 0.602 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06129/1.546, allocations: 8.278 MB / 0.6101 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03253/1.579, allocations: 10.35 MB / 0.6202 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002212/1.581, allocations: 1.059 MB / 0.6213 GB, free: 9.785 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009987/1.591, allocations: 1.406 MB / 0.6226 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1064/1.697, allocations: 23.09 MB / 0.6452 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.008078/1.706, allocations: 23.89 kB / 0.6452 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008594/1.714, allocations: 0.5773 MB / 0.6458 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001404/1.716, allocations: 0.7754 MB / 0.6465 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08661/1.802, allocations: 20.99 MB / 0.667 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1754/1.978, allocations: 63.04 MB / 0.7286 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07075/2.048, allocations: 13.87 MB / 0.7421 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02218/2.071, allocations: 4.736 MB / 0.7468 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3623/2.433, allocations: 11.4 MB / 0.7579 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/2.433, allocations: 99.12 kB / 0.758 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=498): time 1.417e-05/2.433, allocations: 1.875 kB / 0.758 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=506): time 0.07744/2.51, allocations: 25.82 MB / 0.7832 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/2.51, allocations: 140.3 kB / 0.7833 GB, free: 190.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/2.523, allocations: 5.512 MB / 0.7887 GB, free: 188.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001353/2.524, allocations: 109.9 kB / 0.7888 GB, free: 188.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004677/2.529, allocations: 6.388 MB / 0.7951 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002763/2.531, allocations: 1.816 MB / 0.7968 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004119/2.536, allocations: 1.481 MB / 0.7983 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/2.536, allocations: 301.1 kB / 0.7986 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007351/2.543, allocations: 3.637 MB / 0.8021 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009561/2.552, allocations: 6.53 MB / 0.8085 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/2.569, allocations: 10.8 MB / 0.819 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/2.569, allocations: 24 kB / 0.8191 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02901/2.598, allocations: 11.99 MB / 0.8308 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-05/2.598, allocations: 44 kB / 0.8308 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001781/2.598, allocations: 96 kB / 0.8309 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/2.604, allocations: 1.588 MB / 0.8325 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008613/2.613, allocations: 1.668 MB / 0.8341 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06197/2.674, allocations: 18.72 MB / 0.8524 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008543/2.683, allocations: 431.7 kB / 0.8528 GB, free: 131.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01181/2.695, allocations: 375.9 kB / 0.8531 GB, free: 130.7 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.0248/2.72, allocations: 5.187 MB / 0.8582 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003454/2.723, allocations: 0.5975 MB / 0.8588 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02465/2.748, allocations: 9.127 MB / 0.8677 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01303/2.761, allocations: 5.86 MB / 0.8734 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.86e-05/2.761, allocations: 20 kB / 0.8734 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/2.761, allocations: 23.91 kB / 0.8735 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05051/2.811, allocations: 17.98 MB / 0.891 GB, free: 91.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-05/2.812, allocations: 8.781 kB / 0.891 GB, free: 91.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005473/2.817, allocations: 0.8737 MB / 0.8919 GB, free: 90.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006349/2.823, allocations: 1.634 MB / 0.8935 GB, free: 89.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00136/2.825, allocations: 135.9 kB / 0.8936 GB, free: 89.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0296/2.854, allocations: 21.98 MB / 0.9151 GB, free: 66.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/2.854, allocations: 7.938 kB / 0.9151 GB, free: 66.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03031/2.885, allocations: 13.54 MB / 0.9283 GB, free: 52.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006069/2.891, allocations: 1.303 MB / 0.9296 GB, free: 51.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002539/2.893, allocations: 112 kB / 0.9297 GB, free: 51.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005576/2.899, allocations: 275.7 kB / 0.93 GB, free: 50.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002798/2.902, allocations: 432.2 kB / 0.9304 GB, free: 50.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001018/2.903, allocations: 167.9 kB / 0.9305 GB, free: 50.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008716/2.911, allocations: 3.59 MB / 0.934 GB, free: 46.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/2.911, allocations: 0 / 0.934 GB, free: 46.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01287/2.924, allocations: 2.336 MB / 0.9363 GB, free: 44.38 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.001578/2.926, allocations: 318.5 kB / 0.9366 GB, free: 44.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0202/2.946, allocations: 9.454 MB / 0.9459 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.988e-05/2.946, allocations: 4 kB / 0.9459 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01121/2.957, allocations: 5.144 MB / 0.9509 GB, free: 29.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01135/2.969, allocations: 1.441 MB / 0.9523 GB, free: 27.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1014/3.07, allocations: 25.04 MB / 0.9767 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.378/3.448, allocations: 8.489 MB / 0.985 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.009862/3.458, allocations: 2.486 MB / 0.9875 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002166/3.46, allocations: 467.6 kB / 0.9879 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.303e-06/3.46, allocations: 0 / 0.9879 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.2081/3.668, allocations: 107.2 MB / 1.093 GB, free: 94.84 MB / 0.5762 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 -s cvode -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: 15.343981259997236]