Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001161/0.001161, allocations: 80.36 kB / 20.67 MB, free: 3.891 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.001279/0.001279, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 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 0.8804/0.8804, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.074e-05, allocations: 6.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.01359/0.01362, allocations: 17.51 MB / 342 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008948/0.02256, allocations: 5.694 MB / 347.7 MB, free: 8.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.02448, allocations: 151.1 kB / 347.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.02674, allocations: 1.331 MB / 349.2 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.03017, allocations: 2.007 MB / 351.2 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.03185, allocations: 1.203 MB / 352.4 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005588/0.03744, allocations: 6.729 MB / 359.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.04026, allocations: 2.856 MB / 362 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004473/0.04474, allocations: 4.472 MB / 366.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.04703, allocations: 3.012 MB / 369.5 MB, free: 2.664 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005508/0.04758, allocations: 0.7969 MB / 370.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.04868, allocations: 1.081 MB / 371.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.05008, allocations: 2.053 MB / 373.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.05175, allocations: 2.347 MB / 375.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006838/0.05859, allocations: 10.8 MB / 386.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.05859, allocations: 0 / 386.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.05859, allocations: 0 / 386.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001265/0.05872, allocations: 0 / 386.6 MB, free: 1.539 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.008477/0.0672, allocations: 6.749 MB / 393.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.06724, allocations: 15.98 kB / 393.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006212/0.06786, allocations: 0.7039 MB / 394 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.07068, allocations: 1.114 MB / 395.2 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/0.07474, allocations: 3.662 MB / 398.8 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.07493, allocations: 398.7 kB / 399.2 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/0.07542, allocations: 0.5081 MB / 399.7 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007597/0.08302, allocations: 7.216 MB / 406.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.738e-05/0.0831, allocations: 11.94 kB / 406.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/0.08343, allocations: 208 kB / 407.1 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.08357, allocations: 238.2 kB / 407.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006534/0.0901, allocations: 5.915 MB / 413.3 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01972/0.1098, allocations: 19.03 MB / 432.3 MB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.1139, allocations: 3.895 MB / 436.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.1163, allocations: 2.187 MB / 438.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006603/0.1229, allocations: 5.307 MB / 443.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.123, allocations: 60.56 kB / 443.8 MB, free: 7.711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 3.256e-06/0.123, allocations: 3.938 kB / 443.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.1846/0.3076, allocations: 10.6 MB / 454.4 MB, free: 110.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3076, allocations: 85.42 kB / 454.5 MB, free: 110.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.3109, allocations: 3.055 MB / 457.5 MB, free: 109.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.3111, allocations: 73.3 kB / 457.6 MB, free: 109.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008636/0.3119, allocations: 2.382 MB / 460 MB, free: 107.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.3123, allocations: 0.8412 MB / 460.8 MB, free: 107.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/0.3128, allocations: 0.5056 MB / 461.3 MB, free: 106.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.208e-05/0.3128, allocations: 303.1 kB / 461.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.314, allocations: 1.355 MB / 463 MB, free: 106.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.3155, allocations: 2.156 MB / 465.1 MB, free: 104.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/0.3183, allocations: 3.696 MB / 468.8 MB, free: 102.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-06/0.3183, allocations: 7.25 kB / 468.8 MB, free: 102.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.004372/0.3227, allocations: 4.592 MB / 473.4 MB, free: 98.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.3227, allocations: 19.66 kB / 473.4 MB, free: 98.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.3227, allocations: 20 kB / 473.5 MB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.3237, allocations: 0.7558 MB / 474.2 MB, free: 97.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.3249, allocations: 0.6249 MB / 474.8 MB, free: 97.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.3311, allocations: 13.7 MB / 488.5 MB, free: 82.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.3326, allocations: 151.8 kB / 488.7 MB, free: 82.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.3327, allocations: 124 kB / 488.8 MB, free: 82.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (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 (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002471/0.3352, allocations: 1.61 MB / 490.4 MB, free: 80.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.3355, allocations: 341.8 kB / 490.7 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.3394, allocations: 4.02 MB / 494.8 MB, free: 76.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3394, allocations: 28 kB / 494.8 MB, free: 76.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3394, allocations: 11.84 kB / 494.8 MB, free: 76.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.3394, allocations: 15.95 kB / 494.8 MB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00834/0.3478, allocations: 8.433 MB / 0.4915 GB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3478, allocations: 7.938 kB / 0.4915 GB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.3486, allocations: 372 kB / 0.4918 GB, free: 67.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.3498, allocations: 0.9402 MB / 0.4927 GB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.3499, allocations: 63.97 kB / 0.4928 GB, free: 66.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00775/0.3576, allocations: 17 MB / 0.5094 GB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3577, allocations: 7.938 kB / 0.5094 GB, free: 48.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/0.363, allocations: 5.884 MB / 0.5152 GB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.364, allocations: 0.6485 MB / 0.5158 GB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/0.3643, allocations: 59.98 kB / 0.5158 GB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/0.3651, allocations: 131.9 kB / 0.516 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/0.3654, allocations: 205.5 kB / 0.5162 GB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.293e-05/0.3655, allocations: 75.97 kB / 0.5162 GB, free: 41.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001916/0.3674, allocations: 2.059 MB / 0.5183 GB, free: 39.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3674, allocations: 0 / 0.5183 GB, free: 39.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002752/0.3702, allocations: 0.9799 MB / 0.5192 GB, free: 38.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (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 (179): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.005483/0.3757, allocations: 6.611 MB / 0.5257 GB, free: 31.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003708/0.3794, allocations: 4.222 MB / 0.5298 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3794, allocations: 4 kB / 0.5298 GB, free: 27.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.3815, allocations: 2.861 MB / 0.5326 GB, free: 24.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.3835, allocations: 0.9137 MB / 0.5335 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03962/0.4231, allocations: 35.06 MB / 0.5677 GB, free: 3.527 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002669/0.4258, allocations: 2.921 MB / 0.5706 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00176/0.4275, allocations: 0.7778 MB / 0.5713 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/0.4292, allocations: 1.972 MB / 0.5733 GB, free: 13.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4292, allocations: 0 / 0.5733 GB, free: 13.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2808/0.71, allocations: 92.27 MB / 0.6634 GB, free: 126.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.81, allocations: 4 kB / 0.6634 GB, free: 126.8 MB / 474.7 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.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/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 15.744615684263408]