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.0007534/0.0007534, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009953/0.001749, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001034/0.001034, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002203, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09301/1.097, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 1.322e-06/1.322e-06, allocations: 0 / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.764e-05, allocations: 6.25 kB / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1692/0.1692, allocations: 36.89 MB / 281.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02312/0.1924, allocations: 10.85 MB / 292.3 MB, free: 248 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00741/0.1998, allocations: 363.8 kB / 292.7 MB, free: 116 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01397/0.2137, allocations: 10.83 MB / 303.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01405/0.2278, allocations: 4.23 MB / 307.7 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006/0.2338, allocations: 2.443 MB / 310.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01862/0.2524, allocations: 17.36 MB / 327.5 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03122/0.2836, allocations: 20.44 MB / 348 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02277/0.3064, allocations: 13.46 MB / 361.4 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01427/0.3207, allocations: 9.263 MB / 370.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006364/0.327, allocations: 2.406 MB / 373.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009293/0.3363, allocations: 2.854 MB / 375.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007004/0.3433, allocations: 3.979 MB / 379.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01479/0.3581, allocations: 5.238 MB / 385.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02488/0.383, allocations: 14.56 MB / 399.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.937e-05/0.383, allocations: 0 / 399.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.383, allocations: 0 / 399.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006304/0.3837, allocations: 4 kB / 399.7 MB, free: 15.35 MB / 378.7 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.03962/0.4233, allocations: 20.85 MB / 420.6 MB, free: 10.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4233, allocations: 8.031 kB / 420.6 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02583/0.4491, allocations: 8.569 MB / 429.1 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1458/0.5949, allocations: 5.494 MB / 434.6 MB, free: 90.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001365/0.5963, allocations: 1.059 MB / 435.7 MB, free: 90.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004028/0.6003, allocations: 1.403 MB / 437.1 MB, free: 90.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02649/0.6268, allocations: 11.54 MB / 448.6 MB, free: 89.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003938/0.6272, allocations: 21.91 kB / 448.7 MB, free: 89.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001711/0.6289, allocations: 0.5753 MB / 449.2 MB, free: 89.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005517/0.6295, allocations: 0.7836 MB / 450 MB, free: 89.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.6417, allocations: 5.631 MB / 455.7 MB, free: 88.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05945/0.7012, allocations: 44.12 MB / 499.8 MB, free: 56.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008749/0.7099, allocations: 8.095 MB / 0.496 GB, free: 48.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/0.7123, allocations: 1.718 MB / 0.4976 GB, free: 46.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.7238, allocations: 6.165 MB / 0.5037 GB, free: 40.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.7239, allocations: 90.77 kB / 0.5037 GB, free: 40.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=498): time 7.825e-06/0.7239, allocations: 0 / 0.5037 GB, free: 40.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=506): time 0.0219/0.7458, allocations: 11.48 MB / 0.515 GB, free: 29.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.7458, allocations: 133.3 kB / 0.5151 GB, free: 29.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003458/0.7493, allocations: 3.703 MB / 0.5187 GB, free: 26.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005963/0.7499, allocations: 107.6 kB / 0.5188 GB, free: 25.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.7513, allocations: 5.702 MB / 0.5244 GB, free: 20.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.7523, allocations: 1.793 MB / 0.5261 GB, free: 18.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.7534, allocations: 1.36 MB / 0.5275 GB, free: 17.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.779e-05/0.7534, allocations: 313.1 kB / 0.5278 GB, free: 17.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.7546, allocations: 1.001 MB / 0.5287 GB, free: 16.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.7562, allocations: 3.679 MB / 0.5323 GB, free: 11.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/0.7596, allocations: 5.425 MB / 0.5376 GB, free: 5.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-05/0.7596, allocations: 24 kB / 0.5376 GB, free: 5.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.006166/0.7658, allocations: 5.245 MB / 0.5428 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.7658, allocations: 48 kB / 0.5428 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.989e-05/0.7659, allocations: 92.56 kB / 0.5429 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.7685, allocations: 1.254 MB / 0.5441 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003686/0.7722, allocations: 1.776 MB / 0.5459 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009421/0.7816, allocations: 11.37 MB / 0.557 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/0.7851, allocations: 283.9 kB / 0.5572 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007921/0.7859, allocations: 303.9 kB / 0.5575 GB, free: 1.492 MB / 410.7 MB 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.002861/0.7888, allocations: 0.6077 MB / 0.5581 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/0.7898, allocations: 0.4995 MB / 0.5586 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/0.7953, allocations: 3.887 MB / 0.5624 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002517/0.7978, allocations: 1.904 MB / 0.5643 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.422e-05/0.7978, allocations: 20 kB / 0.5643 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/0.7979, allocations: 23.91 kB / 0.5643 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.8133, allocations: 9.553 MB / 0.5736 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.8133, allocations: 7.938 kB / 0.5736 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/0.8158, allocations: 1.184 MB / 0.5748 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/0.8178, allocations: 0.7354 MB / 0.5755 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1435/0.9613, allocations: 1.259 MB / 0.5767 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009319/0.9623, allocations: 119 kB / 0.5769 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.9751, allocations: 14.37 MB / 0.5909 GB, free: 90.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.312e-05/0.9752, allocations: 11.16 kB / 0.5909 GB, free: 90.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009131/0.9843, allocations: 4.845 MB / 0.5956 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/0.9855, allocations: 106.2 kB / 0.5957 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/0.9874, allocations: 151 kB / 0.5959 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000846/0.9882, allocations: 412.1 kB / 0.5963 GB, free: 88.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/0.9885, allocations: 106.8 kB / 0.5964 GB, free: 88.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002217/0.9908, allocations: 1.769 MB / 0.5981 GB, free: 88.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9908, allocations: 2.078 kB / 0.5981 GB, free: 88.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006574/0.9973, allocations: 2.332 MB / 0.6004 GB, free: 88.79 MB / 426.7 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,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.0008196/0.9981, allocations: 295.9 kB / 0.6007 GB, free: 88.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006589/1.005, allocations: 4.687 MB / 0.6052 GB, free: 87.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002571/1.005, allocations: 131.7 kB / 0.6054 GB, free: 87.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003298/1.008, allocations: 3.006 MB / 0.6083 GB, free: 86.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004638/1.013, allocations: 1.953 MB / 0.6102 GB, free: 86.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08225/1.095, allocations: 21.44 MB / 0.6311 GB, free: 78.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005108/1.1, allocations: 2.812 MB / 0.6339 GB, free: 77.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003578/1.104, allocations: 0.9298 MB / 0.6348 GB, free: 76.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002503/1.106, allocations: 1.33 MB / 0.6361 GB, free: 75.29 MB / 426.7 MB Notification: Performance of SimCode: time 2.375e-06/1.106, allocations: 1.641 kB / 0.6361 GB, free: 75.29 MB / 426.7 MB Notification: Performance of Templates: time 0.133/1.239, allocations: 101.6 MB / 0.7353 GB, free: 12.98 MB / 458.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.807721926830709]