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.001773/0.001773, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002083/0.002083, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 7.773 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 47.88 kB / 378.5 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2399, allocations: 53.36 MB / 431.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01513/0.2551, allocations: 11.84 MB / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008368/0.2634, allocations: 4.283 MB / 448 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.2656, allocations: 103.4 kB / 448.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003076/0.2687, allocations: 0.9824 MB / 449.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.2728, allocations: 1.301 MB / 450.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.2751, allocations: 0.8683 MB / 451.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005955/0.2811, allocations: 4.088 MB / 455.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003113/0.2842, allocations: 1.785 MB / 457.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.2871, allocations: 1.951 MB / 459.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003363/0.2905, allocations: 2.277 MB / 461.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007488/0.2912, allocations: 0.5078 MB / 461.9 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2927, allocations: 0.7224 MB / 462.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.2938, allocations: 1.153 MB / 463.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.296, allocations: 1.684 MB / 465.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007649/0.3037, allocations: 6.848 MB / 472.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3037, allocations: 0 / 472.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3037, allocations: 0 / 472.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001291/0.3038, allocations: 0 / 472.3 MB, free: 14.02 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.01069/0.3145, allocations: 4.459 MB / 476.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3145, allocations: 8.031 kB / 476.7 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.441e-05/0.3146, allocations: 86.45 kB / 476.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005937/0.3152, allocations: 447.1 kB / 477.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.3196, allocations: 0.8417 MB / 478.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.3243, allocations: 2.455 MB / 480.6 MB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.3245, allocations: 242.2 kB / 480.8 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006245/0.3251, allocations: 315.9 kB / 481.1 MB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008192/0.3333, allocations: 4.412 MB / 485.5 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.3335, allocations: 7.953 kB / 485.5 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/0.3338, allocations: 124 kB / 485.6 MB, free: 448 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.334, allocations: 146.2 kB / 485.8 MB, free: 300 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006992/0.341, allocations: 3.671 MB / 489.4 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/0.3616, allocations: 11.92 MB / 0.4896 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005121/0.3667, allocations: 2.596 MB / 0.4922 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/0.369, allocations: 1.309 MB / 0.4934 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005928/0.3749, allocations: 3.071 MB / 0.4964 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.375, allocations: 47.55 kB / 0.4965 GB, free: 9.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.346e-06/0.375, allocations: 0 / 0.4965 GB, free: 9.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.0139/0.3889, allocations: 6.087 MB / 0.5024 GB, free: 3.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.3889, allocations: 72.66 kB / 0.5025 GB, free: 3.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/0.3917, allocations: 1.892 MB / 0.5043 GB, free: 1.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.3918, allocations: 53.7 kB / 0.5044 GB, free: 1.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.3931, allocations: 1.475 MB / 0.5058 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.3935, allocations: 0.5112 MB / 0.5063 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005227/0.3941, allocations: 307.5 kB / 0.5066 GB, free: 14.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3942, allocations: 305.1 kB / 0.5069 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.3955, allocations: 0.7613 MB / 0.5077 GB, free: 13.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.3972, allocations: 1.249 MB / 0.5089 GB, free: 12.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.4003, allocations: 2.111 MB / 0.5109 GB, free: 10.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.4003, allocations: 4 kB / 0.5109 GB, free: 10.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004856/0.4051, allocations: 2.664 MB / 0.5135 GB, free: 7.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.4052, allocations: 12 kB / 0.5136 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.4052, allocations: 12 kB / 0.5136 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.4066, allocations: 0.5101 MB / 0.5141 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.4081, allocations: 379.5 kB / 0.5144 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009029/0.4171, allocations: 6.622 MB / 0.5209 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.4187, allocations: 75.86 kB / 0.521 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.4188, allocations: 80.14 kB / 0.521 GB, free: 15.54 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.001847/0.4207, allocations: 1.052 MB / 0.5221 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.4211, allocations: 210.6 kB / 0.5223 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/0.4255, allocations: 2.33 MB / 0.5245 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.4255, allocations: 19.94 kB / 0.5246 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.4255, allocations: 8 kB / 0.5246 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.4255, allocations: 7.969 kB / 0.5246 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008893/0.4344, allocations: 5.023 MB / 0.5295 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4344, allocations: 12.12 kB / 0.5295 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.4355, allocations: 219.7 kB / 0.5297 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.4368, allocations: 0.4909 MB / 0.5302 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.862e-05/0.4369, allocations: 35.98 kB / 0.5302 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1966/0.6335, allocations: 10.8 MB / 0.5408 GB, free: 96.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6335, allocations: 4.25 kB / 0.5408 GB, free: 96.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004875/0.6384, allocations: 3.412 MB / 0.5441 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008189/0.6392, allocations: 398.1 kB / 0.5445 GB, free: 94.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.6395, allocations: 29.05 kB / 0.5445 GB, free: 94.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/0.6403, allocations: 67.31 kB / 0.5446 GB, free: 94.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.6406, allocations: 123.3 kB / 0.5447 GB, free: 94.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.728e-05/0.6407, allocations: 42.14 kB / 0.5447 GB, free: 94.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001581/0.6423, allocations: 1.306 MB / 0.546 GB, free: 93.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6423, allocations: 0 / 0.546 GB, free: 93.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001561/0.6438, allocations: 0.5881 MB / 0.5466 GB, free: 93.85 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.00434/0.6482, allocations: 4.026 MB / 0.5505 GB, free: 91.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003211/0.6514, allocations: 2.32 MB / 0.5528 GB, free: 90.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6514, allocations: 0 / 0.5528 GB, free: 90.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.6534, allocations: 1.661 MB / 0.5544 GB, free: 89.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.6556, allocations: 0.5429 MB / 0.5549 GB, free: 89.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02439/0.6799, allocations: 21.37 MB / 0.5758 GB, free: 68.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.6814, allocations: 1.827 MB / 0.5776 GB, free: 66.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001099/0.6825, allocations: 421 kB / 0.578 GB, free: 66.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.6835, allocations: 1.167 MB / 0.5791 GB, free: 65.18 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6835, allocations: 0 / 0.5791 GB, free: 65.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09195/0.7755, allocations: 59.61 MB / 0.6373 GB, free: 6.211 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.02, allocations: 12 kB / 0.6373 GB, free: 6.199 MB / 446.1 MB " [Timeout remaining time 644] (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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 23.777776479022577]