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.001851/0.001851, allocations: 83.69 kB / 21.25 MB, free: 396 kB / 14.72 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.002325/0.002325, allocations: 160.9 kB / 24.5 MB, free: 3.453 MB / 14.72 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.444/1.444, allocations: 177.1 MB / 204.7 MB, free: 8.844 MB / 190.1 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 0.001947/0.001947, allocations: 66.33 kB / 325.6 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/0.09395, allocations: 53.38 MB / 379 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04009/0.134, allocations: 33.4 MB / 412.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0228/0.1568, allocations: 10.04 MB / 422.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007067/0.1639, allocations: 354.1 kB / 422.7 MB, free: 3.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02551/0.1894, allocations: 10.06 MB / 432.8 MB, free: 9.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.2034, allocations: 4.133 MB / 436.9 MB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008242/0.2116, allocations: 2.414 MB / 439.4 MB, free: 2.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02385/0.2355, allocations: 16.67 MB / 456 MB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4176/0.6531, allocations: 20.29 MB / 476.3 MB, free: 15.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01433/0.6675, allocations: 8.718 MB / 485 MB, free: 14.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01504/0.6825, allocations: 9.201 MB / 494.2 MB, free: 12.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005699/0.6882, allocations: 2.413 MB / 496.6 MB, free: 12.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009407/0.6976, allocations: 2.816 MB / 499.5 MB, free: 12.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006945/0.7045, allocations: 4.819 MB / 0.4925 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01422/0.7188, allocations: 7.171 MB / 0.4995 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0356/0.7544, allocations: 32.37 MB / 0.5311 GB, free: 7.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.7544, allocations: 6.875 kB / 0.5311 GB, free: 7.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.7544, allocations: 0 / 0.5311 GB, free: 7.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008521/0.7552, allocations: 0 / 0.5311 GB, free: 7.078 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.06007/0.8153, allocations: 18.98 MB / 0.5496 GB, free: 4.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.8153, allocations: 11.98 kB / 0.5496 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04959/0.8649, allocations: 8.288 MB / 0.5577 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0237/0.8886, allocations: 10.35 MB / 0.5678 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/0.8899, allocations: 1.057 MB / 0.5689 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004831/0.8947, allocations: 1.398 MB / 0.5702 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05297/0.9477, allocations: 23.09 MB / 0.5928 GB, free: 8.605 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004824/0.9481, allocations: 23.89 kB / 0.5928 GB, free: 8.582 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003447/0.9516, allocations: 0.5765 MB / 0.5934 GB, free: 8.02 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000862/0.9525, allocations: 0.779 MB / 0.5941 GB, free: 7.242 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04313/0.9956, allocations: 20.98 MB / 0.6146 GB, free: 2.254 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1183/1.114, allocations: 63.07 MB / 0.6762 GB, free: 3.094 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2116/1.325, allocations: 13.87 MB / 0.6897 GB, free: 195.9 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009083/1.334, allocations: 4.73 MB / 0.6944 GB, free: 194.3 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02251/1.357, allocations: 11.41 MB / 0.7055 GB, free: 189.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/1.357, allocations: 93.73 kB / 0.7056 GB, free: 189.2 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.276e-06/1.357, allocations: 3.219 kB / 0.7056 GB, free: 189.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.0499/1.407, allocations: 25.82 MB / 0.7308 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/1.407, allocations: 137.2 kB / 0.731 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006488/1.413, allocations: 5.519 MB / 0.7363 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007473/1.414, allocations: 105.7 kB / 0.7364 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002404/1.417, allocations: 6.386 MB / 0.7427 GB, free: 167.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.418, allocations: 1.812 MB / 0.7444 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001896/1.42, allocations: 1.477 MB / 0.7459 GB, free: 164.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.917e-05/1.42, allocations: 304.8 kB / 0.7462 GB, free: 164.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00459/1.425, allocations: 3.641 MB / 0.7497 GB, free: 161.4 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005717/1.43, allocations: 6.537 MB / 0.7561 GB, free: 154.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.441, allocations: 10.78 MB / 0.7667 GB, free: 142.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.769e-05/1.441, allocations: 24 kB / 0.7667 GB, free: 142.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01883/1.46, allocations: 11.99 MB / 0.7784 GB, free: 130.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/1.46, allocations: 44 kB / 0.7784 GB, free: 130.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/1.46, allocations: 96 kB / 0.7785 GB, free: 130.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003791/1.464, allocations: 1.586 MB / 0.7801 GB, free: 128.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005702/1.469, allocations: 1.673 MB / 0.7817 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/1.488, allocations: 18.73 MB / 0.8 GB, free: 107.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005516/1.493, allocations: 419.6 kB / 0.8004 GB, free: 107.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000895/1.494, allocations: 371.9 kB / 0.8007 GB, free: 106.9 MB / 0.5763 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.006739/1.501, allocations: 5.189 MB / 0.8058 GB, free: 101.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.502, allocations: 0.6017 MB / 0.8064 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/1.516, allocations: 9.132 MB / 0.8153 GB, free: 91.92 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007782/1.523, allocations: 5.852 MB / 0.821 GB, free: 86.04 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.976e-05/1.523, allocations: 20 kB / 0.8211 GB, free: 86.02 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-05/1.523, allocations: 27.89 kB / 0.8211 GB, free: 85.99 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/1.55, allocations: 17.98 MB / 0.8386 GB, free: 67.96 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.55, allocations: 8 kB / 0.8386 GB, free: 67.96 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003461/1.554, allocations: 0.8659 MB / 0.8395 GB, free: 67.09 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004126/1.558, allocations: 1.647 MB / 0.8411 GB, free: 65.42 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003672/1.558, allocations: 128 kB / 0.8412 GB, free: 65.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/1.578, allocations: 21.99 MB / 0.8627 GB, free: 42.62 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.578, allocations: 7.938 kB / 0.8627 GB, free: 42.62 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/1.597, allocations: 13.54 MB / 0.8759 GB, free: 28.75 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/1.6, allocations: 1.305 MB / 0.8772 GB, free: 27.45 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.601, allocations: 104 kB / 0.8773 GB, free: 27.34 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/1.604, allocations: 283.7 kB / 0.8776 GB, free: 27.07 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008312/1.605, allocations: 436.1 kB / 0.878 GB, free: 26.63 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003301/1.605, allocations: 160 kB / 0.8781 GB, free: 26.48 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004422/1.61, allocations: 3.59 MB / 0.8816 GB, free: 22.91 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/1.61, allocations: 4 kB / 0.8816 GB, free: 22.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007082/1.617, allocations: 2.332 MB / 0.8839 GB, free: 20.57 MB / 0.5763 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.0006928/1.618, allocations: 311.8 kB / 0.8842 GB, free: 20.27 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.631, allocations: 9.461 MB / 0.8935 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.631, allocations: 4 kB / 0.8935 GB, free: 10.72 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007742/1.639, allocations: 5.145 MB / 0.8985 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008301/1.647, allocations: 1.441 MB / 0.8999 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2471/1.894, allocations: 25.03 MB / 0.9243 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/1.905, allocations: 8.494 MB / 0.9326 GB, free: 174.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006039/1.911, allocations: 2.483 MB / 0.9351 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.912, allocations: 471.5 kB / 0.9355 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of SimCode: time 1.293e-06/1.912, allocations: 0 / 0.9355 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.1346/2.047, allocations: 89.26 MB / 1.023 GB, free: 100.9 MB / 0.5763 GB " [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 -s ida -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/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_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.501059674075805]