Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.00122/0.00122, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.0009153/0.0009153, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.9141/0.9141, allocations: 177 MB / 204.1 MB, free: 5.738 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_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.246e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.009827/0.009849, allocations: 11.86 MB / 336.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006538/0.01639, allocations: 4.299 MB / 340.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.01782, allocations: 99.38 kB / 340.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.01982, allocations: 0.9899 MB / 341.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.02249, allocations: 1.355 MB / 343.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.02377, allocations: 0.8643 MB / 344 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.02749, allocations: 4.275 MB / 348.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.02971, allocations: 1.726 MB / 350 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.03338, allocations: 2.831 MB / 352.8 MB, free: 3.414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002488/0.03587, allocations: 1.82 MB / 354.6 MB, free: 1.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.03695, allocations: 0.5078 MB / 355.2 MB, free: 1.082 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.03838, allocations: 0.7144 MB / 355.9 MB, free: 376 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009307/0.03932, allocations: 1.176 MB / 357 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.04069, allocations: 1.446 MB / 358.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004568/0.04526, allocations: 6.871 MB / 365.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.04526, allocations: 0 / 365.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.04527, allocations: 0 / 365.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.839e-05/0.04535, allocations: 0 / 365.4 MB, free: 6.848 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.006753/0.05211, allocations: 4.4 MB / 369.8 MB, free: 2.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.05216, allocations: 11.98 kB / 369.8 MB, free: 2.375 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004814/0.05264, allocations: 459.1 kB / 370.2 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.05491, allocations: 0.8417 MB / 371.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.05818, allocations: 2.439 MB / 373.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.0583, allocations: 234.6 kB / 373.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.05864, allocations: 316.3 kB / 374 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005679/0.06432, allocations: 4.424 MB / 378.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.155e-05/0.06438, allocations: 7.953 kB / 378.5 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.06462, allocations: 124 kB / 378.6 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.06473, allocations: 146.2 kB / 378.7 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004596/0.06933, allocations: 3.659 MB / 382.4 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.08433, allocations: 11.92 MB / 394.3 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.08778, allocations: 2.601 MB / 396.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.08936, allocations: 1.3 MB / 398.2 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00466/0.09402, allocations: 3.067 MB / 401.3 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.09406, allocations: 47.5 kB / 401.3 MB, free: 2.395 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 2.966e-06/0.09406, allocations: 4 kB / 401.3 MB, free: 2.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.008399/0.1025, allocations: 6.087 MB / 407.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1025, allocations: 68.72 kB / 407.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.1045, allocations: 1.908 MB / 409.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.512e-05/0.1046, allocations: 53.7 kB / 409.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006947/0.1053, allocations: 1.478 MB / 410.9 MB, free: 8.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.1056, allocations: 0.5035 MB / 411.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.1059, allocations: 303.5 kB / 411.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.106, allocations: 301.1 kB / 412 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008534/0.1068, allocations: 0.7691 MB / 412.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.1079, allocations: 1.253 MB / 414 MB, free: 5.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.1099, allocations: 2.1 MB / 416.1 MB, free: 3.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.1099, allocations: 4 kB / 416.2 MB, free: 3.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.003394/0.1133, allocations: 2.672 MB / 418.8 MB, free: 424 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.1134, allocations: 8 kB / 418.8 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.1134, allocations: 16 kB / 418.8 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008641/0.1143, allocations: 0.5054 MB / 419.4 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.115, allocations: 387.4 kB / 419.7 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006076/0.1211, allocations: 6.61 MB / 426.3 MB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.1222, allocations: 75.91 kB / 426.4 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.1224, allocations: 72 kB / 426.5 MB, free: 8.512 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00185/0.1242, allocations: 1.055 MB / 427.5 MB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/0.1246, allocations: 214.8 kB / 427.7 MB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/0.1274, allocations: 2.326 MB / 430.1 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1274, allocations: 16 kB / 430.1 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.1275, allocations: 4 kB / 430.1 MB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.1275, allocations: 15.91 kB / 430.1 MB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006316/0.1338, allocations: 5.027 MB / 435.1 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.1338, allocations: 4 kB / 435.1 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.1343, allocations: 215.7 kB / 435.4 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007484/0.135, allocations: 0.4883 MB / 435.8 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.1351, allocations: 31.98 kB / 435.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007356/0.1425, allocations: 10.8 MB / 446.7 MB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1425, allocations: 0 / 446.7 MB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.1467, allocations: 3.413 MB / 450.1 MB, free: 148 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1625/0.3091, allocations: 395.8 kB / 450.5 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004669/0.3096, allocations: 29.44 kB / 450.5 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007451/0.3104, allocations: 68.69 kB / 450.6 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003647/0.3107, allocations: 116.1 kB / 450.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.3108, allocations: 41.61 kB / 450.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002309/0.3131, allocations: 1.309 MB / 452 MB, free: 111.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3131, allocations: 3.281 kB / 452 MB, free: 111.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001926/0.3151, allocations: 0.5867 MB / 452.6 MB, free: 111.7 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.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (102): * Single equations (assignments): 97 * 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 {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003955/0.319, allocations: 4.024 MB / 456.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.3216, allocations: 2.319 MB / 459 MB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3216, allocations: 0 / 459 MB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.3231, allocations: 1.671 MB / 460.6 MB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.3246, allocations: 0.5156 MB / 461.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02557/0.3502, allocations: 21.36 MB / 482.5 MB, free: 89.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.3516, allocations: 1.832 MB / 484.3 MB, free: 87.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009027/0.3525, allocations: 421 kB / 484.8 MB, free: 86.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008644/0.3533, allocations: 1.164 MB / 485.9 MB, free: 85.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.3533, allocations: 0 / 485.9 MB, free: 85.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07164/0.425, allocations: 59.42 MB / 0.5326 GB, free: 26.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.58, allocations: 8.062 kB / 0.5326 GB, free: 26.64 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.556344699114561]