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.001105/0.001105, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002067/0.003173, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001152/0.001152, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002689, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9807/0.9807, allocations: 177.5 MB / 190 MB, free: 4.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09471/1.075, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] 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.392e-06/1.392e-06, allocations: 0 / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.215e-05, allocations: 5.406 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.16/0.1601, allocations: 36.9 MB / 282.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02482/0.1849, allocations: 10.89 MB / 293 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008926/0.1938, allocations: 357.4 kB / 293.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01642/0.2102, allocations: 10.82 MB / 304.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01504/0.2253, allocations: 4.235 MB / 308.4 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007271/0.2325, allocations: 2.443 MB / 310.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01982/0.2524, allocations: 17.37 MB / 328.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03118/0.2835, allocations: 20.45 MB / 348.7 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02571/0.3093, allocations: 13.45 MB / 362.2 MB, free: 4.383 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01671/0.326, allocations: 9.263 MB / 371.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007196/0.3332, allocations: 2.41 MB / 373.8 MB, free: 8.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.3442, allocations: 2.847 MB / 376.7 MB, free: 5.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007612/0.3518, allocations: 3.983 MB / 380.7 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01666/0.3684, allocations: 5.242 MB / 385.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02788/0.3963, allocations: 14.52 MB / 400.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.57e-05/0.3963, allocations: 4 kB / 400.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3963, allocations: 0 / 400.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007782/0.3971, allocations: 0 / 400.4 MB, free: 14.03 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.03506/0.4322, allocations: 20.86 MB / 421.3 MB, free: 9.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4322, allocations: 12.62 kB / 421.3 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02654/0.4588, allocations: 8.557 MB / 429.9 MB, free: 472 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1717/0.6304, allocations: 5.498 MB / 435.3 MB, free: 91.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002488/0.6329, allocations: 1.061 MB / 436.4 MB, free: 91.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005587/0.6385, allocations: 1.408 MB / 437.8 MB, free: 91.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03846/0.677, allocations: 11.54 MB / 449.4 MB, free: 90.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008074/0.6778, allocations: 17.28 kB / 449.4 MB, free: 90.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00368/0.6815, allocations: 0.5816 MB / 450 MB, free: 90.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000638/0.6821, allocations: 0.752 MB / 450.7 MB, free: 90.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.7011, allocations: 5.628 MB / 456.3 MB, free: 89.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07382/0.7749, allocations: 44.12 MB / 0.4887 GB, free: 54.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.7861, allocations: 8.101 MB / 0.4966 GB, free: 46.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/0.789, allocations: 1.703 MB / 0.4983 GB, free: 45.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.7894, allocations: 201.7 kB / 0.4985 GB, free: 45.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.679e-05/0.7895, allocations: 110.5 kB / 0.4986 GB, free: 44.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=662): time 1.201e-05/0.7895, allocations: 0 / 0.4986 GB, free: 44.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=670): time 0.02992/0.8195, allocations: 14.15 MB / 0.5124 GB, free: 31.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.8195, allocations: 151 kB / 0.5126 GB, free: 30.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0033/0.8228, allocations: 3.661 MB / 0.5161 GB, free: 27.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000581/0.8234, allocations: 133.7 kB / 0.5163 GB, free: 27.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.8248, allocations: 5.466 MB / 0.5216 GB, free: 22.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001227/0.826, allocations: 2.354 MB / 0.5239 GB, free: 20.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.8274, allocations: 1.527 MB / 0.5254 GB, free: 18.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.055e-05/0.8274, allocations: 305.1 kB / 0.5257 GB, free: 18.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.8288, allocations: 1.138 MB / 0.5268 GB, free: 17.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.8306, allocations: 3.808 MB / 0.5305 GB, free: 12.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004228/0.8348, allocations: 6.087 MB / 0.5365 GB, free: 5.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.195e-05/0.8348, allocations: 30.08 kB / 0.5365 GB, free: 5.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=1113) (initialization): time 0.006803/0.8416, allocations: 5.67 MB / 0.542 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.8417, allocations: 46.81 kB / 0.5421 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.43e-05/0.8418, allocations: 92 kB / 0.5422 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/0.8444, allocations: 1.254 MB / 0.5434 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0052/0.8496, allocations: 2.4 MB / 0.5457 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009596/0.8592, allocations: 11.34 MB / 0.5568 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.8633, allocations: 303.9 kB / 0.5571 GB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009781/0.8643, allocations: 323.9 kB / 0.5574 GB, free: 0.8789 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 415 * 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 (1016): * Single equations (assignments): 1009 * 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.9%), (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.002741/0.867, allocations: 0.6805 MB / 0.5581 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/0.8681, allocations: 0.5776 MB / 0.5586 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005983/0.8741, allocations: 4.389 MB / 0.5629 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003003/0.8771, allocations: 2.168 MB / 0.565 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.823e-05/0.8772, allocations: 20 kB / 0.565 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/0.8772, allocations: 35.86 kB / 0.5651 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1795/1.057, allocations: 12.58 MB / 0.5774 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/1.057, allocations: 10.08 kB / 0.5774 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004717/1.061, allocations: 1.461 MB / 0.5788 GB, free: 95.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/1.064, allocations: 0.8182 MB / 0.5796 GB, free: 95.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003609/1.068, allocations: 1.273 MB / 0.5808 GB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007605/1.069, allocations: 145.4 kB / 0.581 GB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/1.079, allocations: 14.35 MB / 0.595 GB, free: 86.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.872e-05/1.079, allocations: 14.31 kB / 0.595 GB, free: 86.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008235/1.087, allocations: 5.784 MB / 0.6007 GB, free: 84.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/1.089, allocations: 138.8 kB / 0.6008 GB, free: 84.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.091, allocations: 178.4 kB / 0.601 GB, free: 84.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008385/1.092, allocations: 0.4916 MB / 0.6014 GB, free: 84.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002831/1.092, allocations: 146.3 kB / 0.6016 GB, free: 84.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002223/1.094, allocations: 1.752 MB / 0.6033 GB, free: 84.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.094, allocations: 0 / 0.6033 GB, free: 84.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006904/1.101, allocations: 2.475 MB / 0.6057 GB, free: 84.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,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) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (602): * Single equations (assignments): 594 * 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%), (12,64,53.5%), (1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008552/1.102, allocations: 348.7 kB / 0.606 GB, free: 84.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006915/1.109, allocations: 5.272 MB / 0.6112 GB, free: 83.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002572/1.109, allocations: 144.8 kB / 0.6113 GB, free: 83.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004787/1.114, allocations: 4.047 MB / 0.6153 GB, free: 82.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009059/1.123, allocations: 13.39 MB / 0.6284 GB, free: 69.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08668/1.209, allocations: 21.92 MB / 0.6498 GB, free: 57.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005114/1.215, allocations: 2.873 MB / 0.6526 GB, free: 55.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003778/1.218, allocations: 1.024 MB / 0.6536 GB, free: 54.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002743/1.221, allocations: 1.465 MB / 0.655 GB, free: 53.13 MB / 426.7 MB Notification: Performance of SimCode: time 1.502e-06/1.221, allocations: 0 / 0.655 GB, free: 53.13 MB / 426.7 MB Notification: Performance of Templates: time 0.2752/1.496, allocations: 110.3 MB / 0.7627 GB, free: 133.9 MB / 458.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.039034363813698]