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_Initialize.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.001053/0.001053, 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.0008919/0.0008919, allocations: 170 kB / 23.95 MB, free: 0.6055 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.9482/0.9482, allocations: 177.1 MB / 204.3 MB, free: 5.719 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_Initialize,fileNamePrefix="Modelica_4_1_0_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_4_1_0_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.583e-06/1.583e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.225e-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_Initialize): time 0.008932/0.008954, allocations: 11.86 MB / 336.4 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005511/0.01447, allocations: 4.306 MB / 340.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009513/0.01542, allocations: 95.44 kB / 340.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.01698, allocations: 0.9937 MB / 341.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.01895, allocations: 1.355 MB / 343.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.02, allocations: 0.8716 MB / 344.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.02279, allocations: 4.28 MB / 348.3 MB, free: 8.062 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.02424, allocations: 1.726 MB / 350.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.02641, allocations: 2.831 MB / 352.9 MB, free: 3.434 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.02797, allocations: 1.82 MB / 354.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004072/0.02838, allocations: 0.5078 MB / 355.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007613/0.02914, allocations: 0.7144 MB / 355.9 MB, free: 396 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006325/0.02977, allocations: 1.176 MB / 357.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.03081, allocations: 1.45 MB / 358.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.03485, allocations: 6.86 MB / 365.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.03485, allocations: 0 / 365.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.03485, allocations: 0 / 365.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.156e-05/0.03495, allocations: 0 / 365.4 MB, free: 6.875 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.00601/0.04096, allocations: 4.412 MB / 369.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.041, allocations: 12.03 kB / 369.8 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003893/0.04139, allocations: 447.1 kB / 370.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.0435, allocations: 0.8417 MB / 371.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.04606, allocations: 2.432 MB / 373.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.04618, allocations: 234.6 kB / 373.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.04647, allocations: 312.3 kB / 374.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004362/0.05083, allocations: 4.419 MB / 378.5 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.803e-05/0.05088, allocations: 11.95 kB / 378.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.05108, allocations: 124 kB / 378.6 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.637e-05/0.05118, allocations: 146.2 kB / 378.8 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/0.0549, allocations: 3.655 MB / 382.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01093/0.06584, allocations: 11.93 MB / 394.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.06867, allocations: 2.597 MB / 397 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.07, allocations: 1.304 MB / 398.3 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00329/0.07329, allocations: 3.071 MB / 401.3 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.07332, allocations: 47.56 kB / 401.4 MB, free: 2.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 2.334e-06/0.07332, allocations: 4 kB / 401.4 MB, free: 2.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.007611/0.08093, allocations: 6.079 MB / 407.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.08097, allocations: 72.66 kB / 407.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.08267, allocations: 1.915 MB / 409.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.08273, allocations: 53.7 kB / 409.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009707/0.08371, allocations: 1.471 MB / 411 MB, free: 8.754 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.08395, allocations: 0.5113 MB / 411.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.08424, allocations: 303.5 kB / 411.8 MB, free: 7.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.08431, allocations: 301.1 kB / 412.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007735/0.08508, allocations: 0.7652 MB / 412.9 MB, free: 6.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.08612, allocations: 1.249 MB / 414.1 MB, free: 5.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.08798, allocations: 2.111 MB / 416.2 MB, free: 3.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.08799, allocations: 4 kB / 416.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.003007/0.09099, allocations: 2.664 MB / 418.9 MB, free: 456 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.09102, allocations: 8 kB / 418.9 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.09103, allocations: 16 kB / 418.9 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007687/0.0918, allocations: 0.5055 MB / 419.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.09252, allocations: 383.4 kB / 419.8 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.09773, allocations: 6.61 MB / 426.4 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.09832, allocations: 83.84 kB / 426.5 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.289e-05/0.0984, allocations: 68.14 kB / 426.5 MB, free: 8.543 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.001136/0.09954, allocations: 1.055 MB / 427.6 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.09971, allocations: 210.8 kB / 427.8 MB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.1021, allocations: 2.334 MB / 430.1 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1022, allocations: 19.94 kB / 430.2 MB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.1022, allocations: 7.938 kB / 430.2 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1022, allocations: 7.984 kB / 430.2 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/0.1074, allocations: 5.031 MB / 435.2 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1074, allocations: 4 kB / 435.2 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.1078, allocations: 223.8 kB / 435.4 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006654/0.1085, allocations: 499.9 kB / 435.9 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.1086, allocations: 35.98 kB / 436 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006573/0.1151, allocations: 10.78 MB / 446.7 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1151, allocations: 4 kB / 446.7 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/0.1183, allocations: 3.413 MB / 450.1 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1579/0.2762, allocations: 392.7 kB / 450.5 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000418/0.2766, allocations: 33.33 kB / 450.6 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/0.2772, allocations: 66.05 kB / 450.6 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.2775, allocations: 123.5 kB / 450.7 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/0.2775, allocations: 43.28 kB / 450.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001549/0.2791, allocations: 1.305 MB / 452.1 MB, free: 111.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2791, allocations: 1.344 kB / 452.1 MB, free: 111.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001499/0.2806, allocations: 0.5892 MB / 452.7 MB, free: 111.8 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.00337/0.2839, allocations: 4.023 MB / 456.7 MB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.2864, allocations: 2.318 MB / 459 MB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2864, allocations: 3.938 kB / 459 MB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.2879, allocations: 1.66 MB / 460.7 MB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.2896, allocations: 0.5397 MB / 461.2 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/0.3152, allocations: 21.36 MB / 482.6 MB, free: 89.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.3164, allocations: 1.816 MB / 484.4 MB, free: 87.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001008/0.3174, allocations: 429 kB / 484.8 MB, free: 86.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000739/0.3181, allocations: 1.16 MB / 486 MB, free: 85.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.3181, allocations: 0 / 486 MB, free: 85.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07108/0.3892, allocations: 59.45 MB / 0.5327 GB, free: 26.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.47, allocations: 19.11 kB / 0.5327 GB, free: 26.76 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_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_Initialize.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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: 12.48927598260343]