Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009051/0.0009051, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000888/0.000888, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8744/0.8744, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.004e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009642/0.009663, allocations: 11.8 MB / 336.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006764/0.01643, allocations: 4.283 MB / 340.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.01842, allocations: 95.44 kB / 340.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.02077, allocations: 0.9898 MB / 341.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.02447, allocations: 1.323 MB / 343.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.02618, allocations: 0.8726 MB / 343.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.02996, allocations: 4.123 MB / 348.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.03192, allocations: 1.726 MB / 349.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.03509, allocations: 2.78 MB / 352.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.03714, allocations: 1.75 MB / 354.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008166/0.03796, allocations: 0.5 MB / 354.8 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009852/0.03894, allocations: 0.7105 MB / 355.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006279/0.03957, allocations: 1.133 MB / 356.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.04077, allocations: 1.407 MB / 358.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004741/0.04551, allocations: 6.704 MB / 364.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.04551, allocations: 0 / 364.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.04551, allocations: 0 / 364.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.259e-05/0.04561, allocations: 0 / 364.8 MB, free: 7.527 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006488/0.05209, allocations: 4.303 MB / 369.1 MB, free: 3.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.05214, allocations: 8.031 kB / 369.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004148/0.05256, allocations: 451.2 kB / 369.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.05474, allocations: 0.8027 MB / 370.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.05792, allocations: 2.34 MB / 372.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.05803, allocations: 234.6 kB / 372.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003428/0.05838, allocations: 320.1 kB / 373.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005277/0.06365, allocations: 4.385 MB / 377.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.63e-05/0.0637, allocations: 0 / 377.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.0639, allocations: 128 kB / 377.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.064, allocations: 150.3 kB / 377.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004374/0.06838, allocations: 3.609 MB / 381.5 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.08207, allocations: 11.65 MB / 393.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.08523, allocations: 2.637 MB / 395.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.08711, allocations: 1.508 MB / 397.3 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004331/0.09144, allocations: 3.387 MB / 400.7 MB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.09147, allocations: 47.56 kB / 400.7 MB, free: 3.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 3.427e-06/0.09148, allocations: 4 kB / 400.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.007032/0.09851, allocations: 4.978 MB / 405.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.09855, allocations: 68.34 kB / 405.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.1004, allocations: 1.75 MB / 407.5 MB, free: 12.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.1004, allocations: 49.7 kB / 407.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006962/0.1011, allocations: 1.45 MB / 409 MB, free: 10.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.1014, allocations: 452.1 kB / 409.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.1016, allocations: 283.5 kB / 409.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.1017, allocations: 301.1 kB / 410 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007765/0.1025, allocations: 0.6559 MB / 410.7 MB, free: 9.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.1034, allocations: 1.15 MB / 411.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.1052, allocations: 1.906 MB / 413.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.1052, allocations: 4 kB / 413.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002792/0.108, allocations: 2.327 MB / 416.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.108, allocations: 12 kB / 416.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.1081, allocations: 24.16 kB / 416.1 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005212/0.1086, allocations: 315.1 kB / 416.4 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.1093, allocations: 355.4 kB / 416.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004084/0.1134, allocations: 6.25 MB / 423 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/0.1142, allocations: 75.91 kB / 423.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.414e-05/0.1143, allocations: 64 kB / 423.1 MB, free: 11.83 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 173 * 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 {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001413/0.1157, allocations: 1.005 MB / 424.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.1159, allocations: 190.9 kB / 424.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.1184, allocations: 2.043 MB / 426.4 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1184, allocations: 15.94 kB / 426.4 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.1184, allocations: 8 kB / 426.4 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1184, allocations: 7.984 kB / 426.4 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/0.1236, allocations: 4.489 MB / 430.9 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1236, allocations: 4 kB / 430.9 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.124, allocations: 159.8 kB / 431 MB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007217/0.1247, allocations: 0.4961 MB / 431.5 MB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.1248, allocations: 35.98 kB / 431.6 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006622/0.1314, allocations: 10.83 MB / 442.4 MB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1314, allocations: 0 / 442.4 MB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.1351, allocations: 2.943 MB / 445.4 MB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009683/0.1361, allocations: 342.7 kB / 445.7 MB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.1363, allocations: 28 kB / 445.7 MB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.1368, allocations: 63.94 kB / 445.8 MB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.137, allocations: 112.7 kB / 445.9 MB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.1371, allocations: 32 kB / 445.9 MB, free: 4.277 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001426/0.1385, allocations: 1.186 MB / 447.1 MB, free: 3.098 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1385, allocations: 3.938 kB / 447.1 MB, free: 3.094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001476/0.14, allocations: 0.5468 MB / 447.7 MB, free: 2.547 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,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.1551/0.2951, allocations: 3.557 MB / 451.2 MB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.2975, allocations: 1.985 MB / 453.2 MB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2975, allocations: 1.094 kB / 453.2 MB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.2987, allocations: 1.497 MB / 454.7 MB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.3003, allocations: 0.5125 MB / 455.2 MB, free: 111.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/0.3224, allocations: 19.1 MB / 474.3 MB, free: 97.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.3235, allocations: 1.732 MB / 476 MB, free: 96.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008082/0.3243, allocations: 379.9 kB / 476.4 MB, free: 95.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007522/0.3251, allocations: 1.117 MB / 477.5 MB, free: 94.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.734e-06/0.3251, allocations: 0 / 477.5 MB, free: 94.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06268/0.3878, allocations: 54.51 MB / 0.5196 GB, free: 40.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.69, allocations: 2.656 kB / 0.5196 GB, free: 40.61 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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: 12.199583164416254]