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.00137/0.00137, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 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.001399/0.001399, allocations: 220.2 kB / 24.53 MB, free: 4.008 MB / 14.72 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 1.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 59.89 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.242, allocations: 53.41 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0159/0.2579, allocations: 13.62 MB / 445.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009355/0.2673, allocations: 4.578 MB / 450.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.2696, allocations: 95.44 kB / 450.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.2731, allocations: 1.033 MB / 451.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00512/0.2782, allocations: 1.328 MB / 452.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.2812, allocations: 0.9177 MB / 453.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006002/0.2872, allocations: 4.081 MB / 457.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.2905, allocations: 1.785 MB / 459.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.2937, allocations: 1.947 MB / 461.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.2975, allocations: 2.277 MB / 463.6 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.2987, allocations: 0.5117 MB / 464.2 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.3008, allocations: 0.7341 MB / 464.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001603/0.3024, allocations: 1.145 MB / 466 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003286/0.3057, allocations: 2.136 MB / 468.2 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00922/0.3149, allocations: 6.818 MB / 475 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3149, allocations: 0 / 475 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3149, allocations: 0 / 475 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001873/0.3151, allocations: 0 / 475 MB, free: 11.48 MB / 382.1 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.01353/0.3287, allocations: 4.459 MB / 479.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3287, allocations: 8.031 kB / 479.5 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000108/0.3288, allocations: 86.45 kB / 479.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001141/0.33, allocations: 451.1 kB / 480 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.3349, allocations: 0.8378 MB / 480.8 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005694/0.3406, allocations: 2.455 MB / 483.3 MB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.3409, allocations: 242.2 kB / 483.5 MB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009501/0.3418, allocations: 319.9 kB / 483.8 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009637/0.3515, allocations: 4.258 MB / 488.1 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.3516, allocations: 7.953 kB / 488.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00073/0.3523, allocations: 124 kB / 488.2 MB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.3525, allocations: 150.2 kB / 488.4 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007531/0.36, allocations: 3.667 MB / 492 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.3853, allocations: 13.12 MB / 0.4933 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/0.391, allocations: 2.61 MB / 0.4959 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00251/0.3935, allocations: 1.309 MB / 0.4971 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007462/0.401, allocations: 3.414 MB / 0.5005 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.4011, allocations: 47.5 kB / 0.5005 GB, free: 5.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.637e-06/0.4011, allocations: 4 kB / 0.5005 GB, free: 5.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01487/0.4159, allocations: 6.08 MB / 0.5065 GB, free: 15.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.416, allocations: 68.72 kB / 0.5065 GB, free: 15.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/0.4198, allocations: 1.888 MB / 0.5084 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.42, allocations: 53.7 kB / 0.5084 GB, free: 13.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.4213, allocations: 1.475 MB / 0.5099 GB, free: 11.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005872/0.4219, allocations: 0.5151 MB / 0.5104 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006089/0.4225, allocations: 307.5 kB / 0.5106 GB, free: 11.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4226, allocations: 301.1 kB / 0.5109 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.424, allocations: 0.7652 MB / 0.5117 GB, free: 9.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.4257, allocations: 1.224 MB / 0.5129 GB, free: 8.555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.4289, allocations: 2.115 MB / 0.5149 GB, free: 6.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.4289, allocations: 7.938 kB / 0.515 GB, free: 6.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005189/0.4341, allocations: 2.66 MB / 0.5176 GB, free: 3.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.4342, allocations: 12 kB / 0.5176 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.4342, allocations: 16 kB / 0.5176 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.4357, allocations: 0.4978 MB / 0.5181 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.4373, allocations: 395.3 kB / 0.5184 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00941/0.4467, allocations: 6.72 MB / 0.525 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.4483, allocations: 76.08 kB / 0.5251 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.4486, allocations: 79.92 kB / 0.5252 GB, free: 11.55 MB / 446.1 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.001966/0.4506, allocations: 1.055 MB / 0.5262 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/0.4511, allocations: 206.7 kB / 0.5264 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/0.4557, allocations: 2.334 MB / 0.5287 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.4557, allocations: 12 kB / 0.5287 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/0.4557, allocations: 11.94 kB / 0.5287 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.4557, allocations: 7.969 kB / 0.5287 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.4666, allocations: 5.359 MB / 0.5339 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.4666, allocations: 0 / 0.5339 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.4678, allocations: 219.7 kB / 0.5341 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.4692, allocations: 0.496 MB / 0.5346 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.4694, allocations: 35.98 kB / 0.5346 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.226/0.6954, allocations: 10.9 MB / 0.5453 GB, free: 75.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6954, allocations: 3.359 kB / 0.5453 GB, free: 75.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00567/0.7011, allocations: 3.413 MB / 0.5486 GB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.7021, allocations: 401.4 kB / 0.549 GB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004912/0.7026, allocations: 30.81 kB / 0.549 GB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.7039, allocations: 65.98 kB / 0.5491 GB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/0.7042, allocations: 114.8 kB / 0.5492 GB, free: 74.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-05/0.7043, allocations: 45.44 kB / 0.5493 GB, free: 74.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001952/0.7062, allocations: 1.309 MB / 0.5505 GB, free: 74.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7062, allocations: 0 / 0.5505 GB, free: 74.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002532/0.7087, allocations: 0.5922 MB / 0.5511 GB, free: 74.57 MB / 446.1 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.005504/0.7142, allocations: 4.027 MB / 0.5551 GB, free: 72.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004063/0.7183, allocations: 2.326 MB / 0.5573 GB, free: 71.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7183, allocations: 0 / 0.5573 GB, free: 71.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.7205, allocations: 1.661 MB / 0.5589 GB, free: 70.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.7233, allocations: 0.5275 MB / 0.5595 GB, free: 70.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0309/0.7542, allocations: 21.39 MB / 0.5803 GB, free: 52.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/0.7564, allocations: 2.386 MB / 0.5827 GB, free: 50.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001282/0.7576, allocations: 419.5 kB / 0.5831 GB, free: 49.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/0.759, allocations: 1.163 MB / 0.5842 GB, free: 48.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.803e-06/0.759, allocations: 0 / 0.5842 GB, free: 48.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/0.863, allocations: 57.51 MB / 0.6404 GB, free: 7.453 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/16.63, allocations: 17.25 kB / 0.6404 GB, free: 7.438 MB / 462.1 MB " [Timeout remaining time 643] (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/jenkins1/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/jenkins1/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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 24.772792722971644]