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.002544/0.002544, allocations: 103.5 kB / 21.74 MB, free: 2.66 MB / 18.57 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.002747/0.002747, allocations: 160.5 kB / 25.02 MB, free: 8.953 MB / 18.57 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.419/1.419, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 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.264e-06/2.264e-06, allocations: 0 / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.787e-05/4.014e-05, allocations: 6.312 kB / 250.4 MB, free: 7.77 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.06718/0.06722, allocations: 37.39 MB / 287.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03627/0.1035, allocations: 9.986 MB / 297.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01243/0.1159, allocations: 302.2 kB / 298.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.04012/0.156, allocations: 10.85 MB / 308.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02388/0.1799, allocations: 4.271 MB / 313.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009903/0.1898, allocations: 2.455 MB / 315.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02874/0.2186, allocations: 17.24 MB / 332.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04566/0.2642, allocations: 20.38 MB / 353.3 MB, free: 364 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.386/0.6502, allocations: 12.97 MB / 366.3 MB, free: 31.02 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01953/0.6698, allocations: 9.083 MB / 375.3 MB, free: 31.02 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009015/0.6788, allocations: 2.424 MB / 377.8 MB, free: 31.02 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01402/0.6928, allocations: 2.825 MB / 380.6 MB, free: 31.02 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01092/0.7037, allocations: 5.059 MB / 385.6 MB, free: 31.02 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02438/0.7281, allocations: 6.316 MB / 392 MB, free: 29.54 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04209/0.7702, allocations: 32.8 MB / 424.8 MB, free: 4.008 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.7702, allocations: 3.938 kB / 424.8 MB, free: 4.004 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7702, allocations: 0 / 424.8 MB, free: 4.004 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.001166/0.7714, allocations: 2.469 kB / 424.8 MB, free: 4.004 MB / 330.8 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.08291/0.8543, allocations: 21.85 MB / 446.6 MB, free: 14.23 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.8543, allocations: 15.98 kB / 446.6 MB, free: 14.21 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06618/0.9205, allocations: 11.75 MB / 458.4 MB, free: 2.562 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02827/0.9488, allocations: 8.695 MB / 467.1 MB, free: 10.22 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001815/0.9506, allocations: 1.076 MB / 468.2 MB, free: 9.16 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007653/0.9583, allocations: 1.415 MB / 469.6 MB, free: 7.758 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08344/1.042, allocations: 23.92 MB / 493.5 MB, free: 15.71 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008471/1.043, allocations: 19.47 kB / 493.5 MB, free: 15.7 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007718/1.05, allocations: 0.5798 MB / 494.1 MB, free: 15.13 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001228/1.051, allocations: 0.807 MB / 494.9 MB, free: 14.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3292/1.381, allocations: 19.26 MB / 0.5021 GB, free: 76.47 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2064/1.587, allocations: 138.4 MB / 0.6373 GB, free: 7.234 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03331/1.62, allocations: 15.05 MB / 0.652 GB, free: 10.99 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/1.631, allocations: 4.259 MB / 0.6561 GB, free: 6.703 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2697/1.9, allocations: 14.22 MB / 0.67 GB, free: 106.1 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.221e-05/1.9, allocations: 94.47 kB / 0.6701 GB, free: 106.1 MB / 458.8 MB Notification: Performance of pre-optimization done (n=498): time 9.458e-06/1.901, allocations: 0 / 0.6701 GB, free: 106.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=506): time 0.05982/1.96, allocations: 23.81 MB / 0.6933 GB, free: 102.4 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/1.96, allocations: 132.9 kB / 0.6935 GB, free: 102.3 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/1.973, allocations: 7.938 MB / 0.7012 GB, free: 101.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.974, allocations: 109.5 kB / 0.7013 GB, free: 101.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005046/1.979, allocations: 7.252 MB / 0.7084 GB, free: 99.07 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002433/1.982, allocations: 2.007 MB / 0.7104 GB, free: 97.91 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003367/1.985, allocations: 2.009 MB / 0.7123 GB, free: 97.77 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/1.985, allocations: 484 kB / 0.7128 GB, free: 97.3 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004735/1.99, allocations: 2.998 MB / 0.7157 GB, free: 97.28 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007255/1.997, allocations: 7.927 MB / 0.7235 GB, free: 91.68 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/2.011, allocations: 12.02 MB / 0.7352 GB, free: 84.64 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002207/2.011, allocations: 30.62 kB / 0.7352 GB, free: 84.64 MB / 458.8 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02468/2.036, allocations: 11.36 MB / 0.7463 GB, free: 79.7 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002446/2.036, allocations: 49.19 kB / 0.7464 GB, free: 79.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002711/2.036, allocations: 107.4 kB / 0.7465 GB, free: 79.69 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006107/2.042, allocations: 1.869 MB / 0.7483 GB, free: 78.78 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006984/2.049, allocations: 1.741 MB / 0.75 GB, free: 78.47 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/2.071, allocations: 21.28 MB / 0.7708 GB, free: 57.41 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007131/2.078, allocations: 433.7 kB / 0.7712 GB, free: 56.98 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/2.08, allocations: 392 kB / 0.7716 GB, free: 56.6 MB / 458.8 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.009293/2.089, allocations: 4.746 MB / 0.7762 GB, free: 51.96 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001894/2.091, allocations: 0.754 MB / 0.7769 GB, free: 51.21 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/2.105, allocations: 7.951 MB / 0.7847 GB, free: 43.28 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007905/2.113, allocations: 4.985 MB / 0.7896 GB, free: 38.3 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.873e-05/2.113, allocations: 20 kB / 0.7896 GB, free: 38.29 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.161e-05/2.113, allocations: 23.91 kB / 0.7896 GB, free: 38.26 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04219/2.156, allocations: 22.41 MB / 0.8115 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/2.156, allocations: 4 kB / 0.8115 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003668/2.159, allocations: 0.8619 MB / 0.8124 GB, free: 15.04 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006051/2.165, allocations: 1.92 MB / 0.8142 GB, free: 13.11 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009806/2.166, allocations: 124 kB / 0.8143 GB, free: 12.98 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2574/2.424, allocations: 25.74 MB / 0.8395 GB, free: 76.63 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/2.424, allocations: 10.41 kB / 0.8395 GB, free: 76.63 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02131/2.445, allocations: 11.76 MB / 0.851 GB, free: 75.38 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004847/2.45, allocations: 1.197 MB / 0.8522 GB, free: 75.38 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001831/2.452, allocations: 107 kB / 0.8523 GB, free: 75.38 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004063/2.456, allocations: 285.4 kB / 0.8525 GB, free: 75.38 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/2.457, allocations: 435 kB / 0.8529 GB, free: 75.37 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003668/2.457, allocations: 150.9 kB / 0.8531 GB, free: 75.37 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.007354/2.465, allocations: 4.082 MB / 0.8571 GB, free: 75.15 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.91e-07/2.465, allocations: 0 / 0.8571 GB, free: 75.15 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01281/2.477, allocations: 2.36 MB / 0.8594 GB, free: 75.15 MB / 458.8 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.001646/2.479, allocations: 304.8 kB / 0.8597 GB, free: 75.06 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01818/2.497, allocations: 9.499 MB / 0.8689 GB, free: 73.9 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/2.497, allocations: 1.938 kB / 0.8689 GB, free: 73.9 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009862/2.507, allocations: 5.262 MB / 0.8741 GB, free: 72.52 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009495/2.517, allocations: 1.485 MB / 0.8755 GB, free: 72.36 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05036/2.567, allocations: 23.86 MB / 0.8988 GB, free: 64.33 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01677/2.584, allocations: 7.828 MB / 0.9065 GB, free: 63.53 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.007544/2.591, allocations: 2.176 MB / 0.9086 GB, free: 63.23 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/2.593, allocations: 449.3 kB / 0.909 GB, free: 63.22 MB / 458.8 MB Notification: Performance of SimCode: time 2.465e-06/2.593, allocations: 4 kB / 0.909 GB, free: 63.21 MB / 458.8 MB Notification: Performance of Templates: time 0.3943/2.987, allocations: 88.46 MB / 0.9954 GB, free: 100.9 MB / 474.8 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] 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.49815191491507]