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.001381/0.001381, allocations: 89.48 kB / 21.44 MB, free: 276 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.001709/0.001709, allocations: 161.2 kB / 24.7 MB, free: 3.531 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.365/1.365, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.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: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 299 MB, free: 8.668 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.556e-05, allocations: 2.281 kB / 299 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2579/0.2579, allocations: 32.9 MB / 331.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03081/0.2887, allocations: 9.776 MB / 341.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01455/0.3033, allocations: 302.1 kB / 342 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02697/0.3302, allocations: 10.09 MB / 352.1 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01942/0.3497, allocations: 4.266 MB / 356.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009011/0.3587, allocations: 2.435 MB / 358.8 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03005/0.3887, allocations: 17.22 MB / 376 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05474/0.4435, allocations: 20.37 MB / 396.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03604/0.4795, allocations: 12.85 MB / 409.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02241/0.5019, allocations: 8.236 MB / 417.4 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009563/0.5115, allocations: 2.43 MB / 419.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/0.5258, allocations: 2.819 MB / 422.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01099/0.5368, allocations: 4.971 MB / 427.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02128/0.5581, allocations: 6.234 MB / 433.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05538/0.6135, allocations: 32.6 MB / 466.5 MB, free: 7.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.6135, allocations: 3.938 kB / 466.5 MB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.6135, allocations: 0 / 466.5 MB, free: 7.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001256/0.6147, allocations: 0 / 466.5 MB, free: 7.48 MB / 414.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.0802/0.6949, allocations: 18.96 MB / 485.5 MB, free: 4.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/0.695, allocations: 15.98 kB / 485.5 MB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4841/1.179, allocations: 9.362 MB / 494.8 MB, free: 123 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02649/1.206, allocations: 9.277 MB / 0.4923 GB, free: 119.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001923/1.207, allocations: 1.073 MB / 0.4934 GB, free: 118.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006917/1.214, allocations: 1.419 MB / 0.4947 GB, free: 118.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0655/1.28, allocations: 23.5 MB / 0.5177 GB, free: 100.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000839/1.281, allocations: 27.83 kB / 0.5177 GB, free: 100.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006552/1.287, allocations: 0.5813 MB / 0.5183 GB, free: 99.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008058/1.288, allocations: 0.8071 MB / 0.5191 GB, free: 98.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04542/1.333, allocations: 21.61 MB / 0.5402 GB, free: 77.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1177/1.451, allocations: 63.94 MB / 0.6026 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02556/1.477, allocations: 15.83 MB / 0.6181 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01088/1.488, allocations: 4.866 MB / 0.6228 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03819/1.526, allocations: 13.85 MB / 0.6363 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/1.526, allocations: 82.77 kB / 0.6364 GB, free: 13.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=498): time 1.04e-05/1.526, allocations: 4 kB / 0.6364 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=506): time 0.07621/1.602, allocations: 26.35 MB / 0.6622 GB, free: 3.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.602, allocations: 129.3 kB / 0.6623 GB, free: 2.957 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2674/1.87, allocations: 5.648 MB / 0.6678 GB, free: 152.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001406/1.871, allocations: 106.9 kB / 0.6679 GB, free: 152.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006126/1.877, allocations: 6.501 MB / 0.6742 GB, free: 150.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002747/1.88, allocations: 1.796 MB / 0.676 GB, free: 148.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00805/1.888, allocations: 1.515 MB / 0.6775 GB, free: 148.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.119e-05/1.888, allocations: 302.8 kB / 0.6778 GB, free: 147.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00876/1.897, allocations: 3.687 MB / 0.6814 GB, free: 146.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/1.907, allocations: 6.829 MB / 0.688 GB, free: 141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01515/1.922, allocations: 11.14 MB / 0.6989 GB, free: 133.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002336/1.923, allocations: 29.12 kB / 0.6989 GB, free: 133.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02851/1.951, allocations: 12.27 MB / 0.7109 GB, free: 128.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002565/1.951, allocations: 50.75 kB / 0.711 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002998/1.952, allocations: 103.9 kB / 0.7111 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004735/1.956, allocations: 1.593 MB / 0.7126 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007264/1.964, allocations: 1.735 MB / 0.7143 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/1.987, allocations: 18.72 MB / 0.7326 GB, free: 110.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007919/1.995, allocations: 442.6 kB / 0.733 GB, free: 110.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/1.996, allocations: 382.2 kB / 0.7334 GB, free: 110.2 MB / 478.1 MB 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.01171/2.008, allocations: 5.261 MB / 0.7385 GB, free: 105.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002695/2.011, allocations: 0.6001 MB / 0.7391 GB, free: 105.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/2.03, allocations: 9.131 MB / 0.748 GB, free: 96.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01037/2.04, allocations: 5.833 MB / 0.7537 GB, free: 90.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.092e-05/2.04, allocations: 23.98 kB / 0.7538 GB, free: 90.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001414/2.04, allocations: 27.84 kB / 0.7538 GB, free: 90.51 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04192/2.082, allocations: 17.98 MB / 0.7713 GB, free: 72.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/2.082, allocations: 4 kB / 0.7713 GB, free: 72.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004043/2.086, allocations: 0.8667 MB / 0.7722 GB, free: 71.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004873/2.091, allocations: 1.634 MB / 0.7738 GB, free: 69.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000958/2.092, allocations: 127.7 kB / 0.7739 GB, free: 69.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/2.114, allocations: 21.99 MB / 0.7954 GB, free: 47.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/2.114, allocations: 8.562 kB / 0.7954 GB, free: 47.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02204/2.136, allocations: 13.5 MB / 0.8086 GB, free: 33.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00388/2.14, allocations: 1.309 MB / 0.8099 GB, free: 32.01 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/2.142, allocations: 104 kB / 0.81 GB, free: 31.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004371/2.147, allocations: 287.7 kB / 0.8102 GB, free: 31.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/2.148, allocations: 436.2 kB / 0.8106 GB, free: 31.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006178/2.149, allocations: 159.9 kB / 0.8108 GB, free: 31.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006776/2.155, allocations: 3.651 MB / 0.8144 GB, free: 27.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/2.155, allocations: 0 / 0.8144 GB, free: 27.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0119/2.167, allocations: 2.355 MB / 0.8167 GB, free: 25.06 MB / 478.1 MB 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.001262/2.168, allocations: 306.3 kB / 0.817 GB, free: 24.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01563/2.184, allocations: 9.549 MB / 0.8263 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/2.184, allocations: 4.375 kB / 0.8263 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008689/2.193, allocations: 5.144 MB / 0.8313 GB, free: 9.891 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01188/2.205, allocations: 1.442 MB / 0.8327 GB, free: 8.453 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2676/2.472, allocations: 25.23 MB / 0.8574 GB, free: 136 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02158/2.494, allocations: 8.572 MB / 0.8657 GB, free: 135.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01201/2.506, allocations: 2.541 MB / 0.8682 GB, free: 135.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002828/2.509, allocations: 451.2 kB / 0.8686 GB, free: 135.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.503e-06/2.509, allocations: 0 / 0.8686 GB, free: 135.2 MB / 478.1 MB Notification: Performance of Templates: time 0.1511/2.66, allocations: 88.18 MB / 0.9548 GB, free: 56.69 MB / 478.1 MB " [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.096580676734447]