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.001873/0.001873, allocations: 119.6 kB / 20.44 MB, free: 1.297 MB / 14.72 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.003012/0.003012, allocations: 214.5 kB / 23.74 MB, free: 4.527 MB / 14.72 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 1.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001715/0.001715, allocations: 43.94 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2908, allocations: 53.37 MB / 431.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01745/0.3083, allocations: 13.63 MB / 444.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009544/0.3178, allocations: 4.563 MB / 449.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.3206, allocations: 99.44 kB / 449.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.324, allocations: 1.037 MB / 450.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.3288, allocations: 1.34 MB / 451.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.3314, allocations: 0.9143 MB / 452.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00596/0.3374, allocations: 4.07 MB / 456.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003611/0.341, allocations: 1.785 MB / 458.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.3443, allocations: 1.947 MB / 460.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004028/0.3483, allocations: 2.281 MB / 462.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.3496, allocations: 0.5078 MB / 463.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.3519, allocations: 0.738 MB / 464.1 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.3536, allocations: 1.141 MB / 465.2 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003853/0.3574, allocations: 2.136 MB / 467.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009935/0.3674, allocations: 6.817 MB / 474.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3674, allocations: 0 / 474.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3674, allocations: 0 / 474.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002196/0.3676, allocations: 4 kB / 474.2 MB, free: 11.62 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.01405/0.3817, allocations: 4.455 MB / 478.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3817, allocations: 11.97 kB / 478.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00126/0.383, allocations: 447.1 kB / 479.1 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/0.3878, allocations: 0.8417 MB / 479.9 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00566/0.3935, allocations: 2.459 MB / 482.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.3937, allocations: 238.4 kB / 482.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008646/0.3946, allocations: 315.9 kB / 482.9 MB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.4047, allocations: 4.266 MB / 487.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.891e-05/0.4048, allocations: 3.953 kB / 487.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006218/0.4054, allocations: 136 kB / 487.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.4055, allocations: 146.2 kB / 487.4 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008079/0.4136, allocations: 3.659 MB / 491.1 MB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0259/0.4395, allocations: 13.12 MB / 0.4924 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005365/0.4449, allocations: 2.606 MB / 0.495 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00251/0.4474, allocations: 1.312 MB / 0.4962 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007361/0.4548, allocations: 3.41 MB / 0.4996 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.4548, allocations: 47.56 kB / 0.4996 GB, free: 5.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.965e-06/0.4548, allocations: 0 / 0.4996 GB, free: 5.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01486/0.4697, allocations: 6.093 MB / 0.5056 GB, free: 15.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.4697, allocations: 68.72 kB / 0.5056 GB, free: 15.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003658/0.4734, allocations: 1.888 MB / 0.5075 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.4735, allocations: 49.7 kB / 0.5075 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.4749, allocations: 1.475 MB / 0.509 GB, free: 12.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005758/0.4754, allocations: 0.519 MB / 0.5095 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005665/0.476, allocations: 299.5 kB / 0.5098 GB, free: 11.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4761, allocations: 305.1 kB / 0.51 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.4776, allocations: 0.7652 MB / 0.5108 GB, free: 10.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.4794, allocations: 1.228 MB / 0.512 GB, free: 8.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/0.4827, allocations: 2.111 MB / 0.5141 GB, free: 6.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.4827, allocations: 4 kB / 0.5141 GB, free: 6.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005277/0.488, allocations: 2.668 MB / 0.5167 GB, free: 3.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.488, allocations: 8 kB / 0.5167 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-05/0.488, allocations: 16 kB / 0.5167 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.4895, allocations: 0.4984 MB / 0.5172 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.491, allocations: 391.4 kB / 0.5175 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009762/0.5008, allocations: 6.731 MB / 0.5241 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.5024, allocations: 84.02 kB / 0.5242 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/0.5027, allocations: 71.98 kB / 0.5243 GB, free: 11.76 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.002228/0.5049, allocations: 1.055 MB / 0.5253 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/0.5055, allocations: 206.7 kB / 0.5255 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00492/0.5104, allocations: 2.33 MB / 0.5278 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.5105, allocations: 19.94 kB / 0.5278 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/0.5105, allocations: 8 kB / 0.5278 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.5105, allocations: 11.91 kB / 0.5278 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.5217, allocations: 5.351 MB / 0.533 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.5217, allocations: 0 / 0.533 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.5228, allocations: 219.7 kB / 0.5332 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.5241, allocations: 0.4922 MB / 0.5337 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.5243, allocations: 35.98 kB / 0.5338 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2594/0.7837, allocations: 10.9 MB / 0.5444 GB, free: 91.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7837, allocations: 1.812 kB / 0.5444 GB, free: 91.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005522/0.7892, allocations: 3.416 MB / 0.5477 GB, free: 90.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.7906, allocations: 402.4 kB / 0.5481 GB, free: 90.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.7908, allocations: 32.86 kB / 0.5482 GB, free: 90.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008985/0.7917, allocations: 64.7 kB / 0.5482 GB, free: 90.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.792, allocations: 118.3 kB / 0.5483 GB, free: 90.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.7921, allocations: 44.33 kB / 0.5484 GB, free: 90.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.7938, allocations: 1.306 MB / 0.5496 GB, free: 89.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7938, allocations: 0 / 0.5496 GB, free: 89.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001957/0.7957, allocations: 0.5899 MB / 0.5502 GB, free: 89.54 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.004921/0.8007, allocations: 4.023 MB / 0.5542 GB, free: 87.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003429/0.8041, allocations: 2.33 MB / 0.5564 GB, free: 86.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8041, allocations: 0 / 0.5564 GB, free: 86.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.8062, allocations: 1.666 MB / 0.5581 GB, free: 85.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.8083, allocations: 0.5298 MB / 0.5586 GB, free: 85.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/0.8353, allocations: 21.38 MB / 0.5795 GB, free: 65.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.8368, allocations: 2.383 MB / 0.5818 GB, free: 62.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001261/0.838, allocations: 424.9 kB / 0.5822 GB, free: 62.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.8392, allocations: 1.159 MB / 0.5833 GB, free: 61.1 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.8392, allocations: 0 / 0.5833 GB, free: 61.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/0.9558, allocations: 57.51 MB / 0.6395 GB, free: 4.074 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/17.01, allocations: 11.78 kB / 0.6395 GB, free: 4.062 MB / 446.1 MB " [Timeout remaining time 643] (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/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_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: 22.853185349842533]