Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001815/0.001815, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 177 MB / 204.5 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.743e-05, allocations: 2.312 kB / 272.3 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1638/0.1638, allocations: 33.44 MB / 305.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01999/0.1838, allocations: 10.09 MB / 315.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009169/0.1929, allocations: 356.6 kB / 316.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02341/0.2163, allocations: 10.08 MB / 326.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01655/0.2329, allocations: 4.224 MB / 330.4 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008721/0.2416, allocations: 2.435 MB / 332.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0267/0.2683, allocations: 17.25 MB / 350.1 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04304/0.3114, allocations: 20.36 MB / 370.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03012/0.3415, allocations: 12.78 MB / 383.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01909/0.3606, allocations: 8.143 MB / 391.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007606/0.3682, allocations: 2.414 MB / 393.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/0.3791, allocations: 2.831 MB / 396.7 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009566/0.3887, allocations: 4.913 MB / 401.6 MB, free: 404 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01645/0.4051, allocations: 6.187 MB / 407.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3606/0.7657, allocations: 32.64 MB / 440.4 MB, free: 54.2 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7657, allocations: 0 / 440.4 MB, free: 54.2 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7657, allocations: 1 kB / 440.4 MB, free: 54.2 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001032/0.7668, allocations: 0.6562 kB / 440.4 MB, free: 54.2 MB / 378.8 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.05995/0.8267, allocations: 18.83 MB / 459.2 MB, free: 49.27 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.8268, allocations: 11.64 kB / 459.2 MB, free: 49.27 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05207/0.8788, allocations: 10.52 MB / 469.8 MB, free: 46.25 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02397/0.9028, allocations: 10.81 MB / 480.6 MB, free: 41.4 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001185/0.904, allocations: 1.059 MB / 481.6 MB, free: 40.35 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007751/0.9117, allocations: 1.406 MB / 483 MB, free: 38.96 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06195/0.9737, allocations: 23.09 MB / 0.4943 GB, free: 15.75 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007949/0.9745, allocations: 19.91 kB / 0.4943 GB, free: 15.73 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006356/0.9808, allocations: 0.5748 MB / 0.4948 GB, free: 15.16 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007383/0.9816, allocations: 0.7793 MB / 0.4956 GB, free: 14.38 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04657/1.028, allocations: 20.99 MB / 0.5161 GB, free: 9.391 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1469/1.175, allocations: 64.75 MB / 0.5793 GB, free: 8.574 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1933/1.368, allocations: 13.94 MB / 0.5929 GB, free: 163.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00726/1.376, allocations: 4.742 MB / 0.5976 GB, free: 163.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/1.395, allocations: 11.49 MB / 0.6088 GB, free: 159.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/1.395, allocations: 95.31 kB / 0.6089 GB, free: 159.4 MB / 458.8 MB Notification: Performance of pre-optimization done (n=498): time 8.466e-06/1.395, allocations: 0 / 0.6089 GB, free: 159.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=506): time 0.05097/1.446, allocations: 26.02 MB / 0.6343 GB, free: 148.3 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/1.446, allocations: 133.3 kB / 0.6344 GB, free: 148.1 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006652/1.453, allocations: 5.522 MB / 0.6398 GB, free: 143.5 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008665/1.453, allocations: 109.7 kB / 0.6399 GB, free: 143.4 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0027/1.456, allocations: 6.359 MB / 0.6461 GB, free: 137.7 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1.458, allocations: 1.793 MB / 0.6479 GB, free: 136.1 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002104/1.46, allocations: 1.47 MB / 0.6493 GB, free: 134.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 3.661e-05/1.46, allocations: 305.1 kB / 0.6496 GB, free: 134.5 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004485/1.464, allocations: 3.636 MB / 0.6532 GB, free: 131 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005279/1.47, allocations: 6.536 MB / 0.6595 GB, free: 123.1 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.48, allocations: 10.78 MB / 0.6701 GB, free: 111 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.599e-05/1.48, allocations: 32 kB / 0.6701 GB, free: 111 MB / 458.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0171/1.497, allocations: 12.34 MB / 0.6822 GB, free: 98.61 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/1.497, allocations: 48.56 kB / 0.6822 GB, free: 98.57 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/1.497, allocations: 99.2 kB / 0.6823 GB, free: 98.47 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005176/1.502, allocations: 1.871 MB / 0.6841 GB, free: 96.59 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005591/1.508, allocations: 1.673 MB / 0.6858 GB, free: 94.91 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/1.527, allocations: 18.82 MB / 0.7041 GB, free: 75.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005613/1.533, allocations: 419.6 kB / 0.7045 GB, free: 75.19 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009531/1.534, allocations: 379.9 kB / 0.7049 GB, free: 74.82 MB / 458.8 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.006837/1.54, allocations: 5.187 MB / 0.71 GB, free: 69.62 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/1.542, allocations: 0.754 MB / 0.7107 GB, free: 68.86 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/1.555, allocations: 9.131 MB / 0.7196 GB, free: 59.67 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007799/1.563, allocations: 5.859 MB / 0.7253 GB, free: 53.78 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.014e-05/1.563, allocations: 20 kB / 0.7254 GB, free: 53.76 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.384e-05/1.563, allocations: 27.89 kB / 0.7254 GB, free: 53.73 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02886/1.592, allocations: 17.99 MB / 0.7429 GB, free: 35.71 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.172e-05/1.592, allocations: 8 kB / 0.743 GB, free: 35.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003619/1.596, allocations: 0.862 MB / 0.7438 GB, free: 34.84 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005548/1.601, allocations: 1.935 MB / 0.7457 GB, free: 32.89 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004656/1.602, allocations: 135.9 kB / 0.7458 GB, free: 32.75 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/1.623, allocations: 22.12 MB / 0.7674 GB, free: 9.965 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.623, allocations: 11.94 kB / 0.7674 GB, free: 9.953 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1641/1.787, allocations: 13.69 MB / 0.7808 GB, free: 144.9 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003722/1.791, allocations: 1.314 MB / 0.7821 GB, free: 144.9 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/1.792, allocations: 106 kB / 0.7822 GB, free: 144.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/1.795, allocations: 278 kB / 0.7824 GB, free: 144.9 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/1.797, allocations: 438.3 kB / 0.7829 GB, free: 144.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003932/1.797, allocations: 158.6 kB / 0.783 GB, free: 144.9 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005112/1.802, allocations: 3.6 MB / 0.7865 GB, free: 144.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 9e-08/1.802, allocations: 0 / 0.7865 GB, free: 144.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008094/1.81, allocations: 2.332 MB / 0.7888 GB, free: 144.7 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,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.0008941/1.811, allocations: 312.9 kB / 0.7891 GB, free: 144.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01296/1.824, allocations: 9.456 MB / 0.7983 GB, free: 141.5 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.824, allocations: 4.25 kB / 0.7983 GB, free: 141.5 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00768/1.832, allocations: 5.153 MB / 0.8034 GB, free: 139 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006926/1.839, allocations: 1.488 MB / 0.8048 GB, free: 138.6 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03773/1.876, allocations: 25.18 MB / 0.8294 GB, free: 124.5 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009/1.885, allocations: 8.497 MB / 0.8377 GB, free: 118.1 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.006005/1.891, allocations: 2.48 MB / 0.8401 GB, free: 116.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.893, allocations: 467.5 kB / 0.8406 GB, free: 116 MB / 458.8 MB Notification: Performance of SimCode: time 1.283e-06/1.893, allocations: 0 / 0.8406 GB, free: 116 MB / 458.8 MB Notification: Performance of Templates: time 0.128/2.021, allocations: 89 MB / 0.9275 GB, free: 30.38 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.582369773997925]