Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 47.92 kB / 370.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2794, allocations: 52.2 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01219/0.2916, allocations: 9.468 MB / 432.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006681/0.2982, allocations: 2.991 MB / 435.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.2997, allocations: 59.62 kB / 435.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.3015, allocations: 0.6789 MB / 435.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.3037, allocations: 0.8157 MB / 436.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007569/0.3045, allocations: 351.4 kB / 437 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003415/0.3079, allocations: 2.661 MB / 439.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.3096, allocations: 1.164 MB / 440.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.3114, allocations: 1.223 MB / 442 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.3138, allocations: 1.537 MB / 443.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004443/0.3142, allocations: 308 kB / 443.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007495/0.315, allocations: 395.8 kB / 444.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008981/0.3159, allocations: 0.9076 MB / 445.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.3176, allocations: 1.404 MB / 446.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004825/0.3224, allocations: 4.087 MB / 450.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3224, allocations: 0 / 450.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3224, allocations: 3.938 kB / 450.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.956e-05/0.3225, allocations: 0 / 450.7 MB, free: 2.395 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005946/0.3284, allocations: 2.849 MB / 453.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3285, allocations: 8.031 kB / 453.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004033/0.3289, allocations: 295.5 kB / 453.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007335/0.3296, allocations: 307.2 kB / 454.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.3326, allocations: 1.464 MB / 455.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.3327, allocations: 152.3 kB / 455.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.333, allocations: 219.8 kB / 455.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004648/0.3377, allocations: 2.728 MB / 458.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.043e-05/0.3378, allocations: 15.94 kB / 458.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.3379, allocations: 76 kB / 458.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.338, allocations: 91.94 kB / 458.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004167/0.3422, allocations: 2.33 MB / 461.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.3556, allocations: 8.2 MB / 469.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.3577, allocations: 1.257 MB / 470.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/0.3598, allocations: 1.019 MB / 471.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.36, allocations: 40.97 kB / 471.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.36, allocations: 47.56 kB / 471.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.825e-06/0.36, allocations: 0 / 471.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01407/0.3741, allocations: 5.926 MB / 477.7 MB, free: 6.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.3742, allocations: 64.41 kB / 477.7 MB, free: 6.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.3766, allocations: 1.516 MB / 479.3 MB, free: 5.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002101/0.3768, allocations: 49.7 kB / 479.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009924/0.3778, allocations: 1.009 MB / 480.3 MB, free: 4.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005327/0.3784, allocations: 432.3 kB / 480.7 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/0.3788, allocations: 255.4 kB / 481 MB, free: 3.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.379, allocations: 365.9 kB / 481.3 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.3801, allocations: 0.73 MB / 482.1 MB, free: 2.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.3816, allocations: 1.055 MB / 483.1 MB, free: 1.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002716/0.3843, allocations: 1.883 MB / 485 MB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.3843, allocations: 4 kB / 485 MB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004096/0.3884, allocations: 2.342 MB / 487.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3884, allocations: 8 kB / 487.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.3885, allocations: 12.34 kB / 487.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009767/0.3894, allocations: 407.1 kB / 487.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.3906, allocations: 331.5 kB / 488.1 MB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005848/0.3965, allocations: 4.86 MB / 493 MB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3978, allocations: 99.86 kB / 493.1 MB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3979, allocations: 52 kB / 493.1 MB, free: 6.891 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001327/0.3992, allocations: 0.7081 MB / 493.8 MB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.3995, allocations: 166.9 kB / 494 MB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.4033, allocations: 2.137 MB / 496.1 MB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.4033, allocations: 12 kB / 496.1 MB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4033, allocations: 4 kB / 496.1 MB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4033, allocations: 3.984 kB / 496.1 MB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00788/0.4112, allocations: 4.533 MB / 0.4889 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.4112, allocations: 4 kB / 0.4889 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/0.4121, allocations: 224 kB / 0.4892 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.4134, allocations: 470.8 kB / 0.4896 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.012e-05/0.4134, allocations: 31.98 kB / 0.4896 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/0.4202, allocations: 6.381 MB / 0.4959 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4202, allocations: 0 / 0.4959 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/0.4261, allocations: 3.181 MB / 0.499 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.4272, allocations: 326.8 kB / 0.4993 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/0.4274, allocations: 36 kB / 0.4993 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/0.4283, allocations: 71.91 kB / 0.4994 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/0.4285, allocations: 112.7 kB / 0.4995 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.4286, allocations: 31.98 kB / 0.4995 GB, free: 3.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001548/0.4302, allocations: 1.055 MB / 0.5006 GB, free: 2.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4302, allocations: 0 / 0.5006 GB, free: 2.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001424/0.4316, allocations: 460 kB / 0.501 GB, free: 2.438 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005879/0.4375, allocations: 3.819 MB / 0.5047 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.4413, allocations: 2.044 MB / 0.5067 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.4413, allocations: 4 kB / 0.5067 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0025/0.4438, allocations: 1.363 MB / 0.5081 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.4459, allocations: 449.3 kB / 0.5085 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03039/0.4763, allocations: 17.44 MB / 0.5255 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.4782, allocations: 1.822 MB / 0.5273 GB, free: 6.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001109/0.4793, allocations: 397.5 kB / 0.5277 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/0.4805, allocations: 0.8 MB / 0.5285 GB, free: 5.574 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4805, allocations: 0 / 0.5285 GB, free: 5.574 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3199/0.8004, allocations: 44.59 MB / 0.572 GB, free: 81.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.21/23.01, allocations: 7.922 kB / 0.572 GB, free: 81.26 MB / 446.1 MB " [Timeout remaining time 637] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.63306009490043]