Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001716/0.001716, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002213/0.002213, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 8.008 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_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 63.91 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3076, allocations: 53.42 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01797/0.3256, allocations: 13.56 MB / 444.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009858/0.3355, allocations: 4.528 MB / 449.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.3379, allocations: 95.44 kB / 449.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003452/0.3413, allocations: 1.037 MB / 450.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.346, allocations: 1.304 MB / 451.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.3486, allocations: 0.9136 MB / 452.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005961/0.3546, allocations: 3.946 MB / 456.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003601/0.3582, allocations: 1.789 MB / 458.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.3615, allocations: 1.901 MB / 460.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003959/0.3654, allocations: 2.215 MB / 462.5 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001274/0.3667, allocations: 0.5 MB / 463 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.3688, allocations: 0.7263 MB / 463.7 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.3703, allocations: 1.11 MB / 464.8 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003513/0.3738, allocations: 2.085 MB / 466.9 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009471/0.3833, allocations: 6.647 MB / 473.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.3833, allocations: 3.984 kB / 473.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3833, allocations: 0 / 473.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002307/0.3835, allocations: 3.938 kB / 473.6 MB, free: 12.09 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.0144/0.3979, allocations: 4.349 MB / 477.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.398, allocations: 8.031 kB / 477.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001482/0.3994, allocations: 455.2 kB / 478.4 MB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.4043, allocations: 0.7988 MB / 479.2 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/0.4104, allocations: 2.36 MB / 481.5 MB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.4107, allocations: 238.2 kB / 481.8 MB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000965/0.4116, allocations: 311.9 kB / 482.1 MB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.4225, allocations: 4.227 MB / 486.3 MB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.4227, allocations: 11.98 kB / 486.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007911/0.4235, allocations: 120 kB / 486.4 MB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.4237, allocations: 154.2 kB / 486.6 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008594/0.4323, allocations: 3.609 MB / 490.2 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02661/0.4589, allocations: 12.82 MB / 0.4912 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005846/0.4647, allocations: 2.659 MB / 0.4938 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/0.4679, allocations: 1.504 MB / 0.4953 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00785/0.4757, allocations: 3.706 MB / 0.4989 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.4758, allocations: 51.56 kB / 0.499 GB, free: 6.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.276e-06/0.4758, allocations: 4 kB / 0.499 GB, free: 6.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01188/0.4877, allocations: 4.994 MB / 0.5038 GB, free: 1.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.4877, allocations: 64.41 kB / 0.5039 GB, free: 1.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003494/0.4912, allocations: 1.722 MB / 0.5056 GB, free: 15.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.4913, allocations: 49.7 kB / 0.5056 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.4926, allocations: 1.45 MB / 0.507 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/0.493, allocations: 456.1 kB / 0.5075 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/0.4935, allocations: 287.5 kB / 0.5077 GB, free: 13.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4936, allocations: 301.1 kB / 0.508 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.4949, allocations: 0.6598 MB / 0.5087 GB, free: 12.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.4966, allocations: 1.125 MB / 0.5098 GB, free: 10.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/0.4996, allocations: 1.894 MB / 0.5116 GB, free: 8.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.4996, allocations: 8 kB / 0.5116 GB, free: 8.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004467/0.5041, allocations: 2.331 MB / 0.5139 GB, free: 6.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.5041, allocations: 12 kB / 0.5139 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.5042, allocations: 20 kB / 0.5139 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/0.5051, allocations: 319.3 kB / 0.5142 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.5064, allocations: 343.5 kB / 0.5146 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/0.5139, allocations: 6.32 MB / 0.5207 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.5153, allocations: 79.84 kB / 0.5208 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.5155, allocations: 68.09 kB / 0.5209 GB, free: 14.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002102/0.5176, allocations: 1.001 MB / 0.5219 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/0.5181, allocations: 194.8 kB / 0.522 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004449/0.5225, allocations: 2.031 MB / 0.524 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.5225, allocations: 16 kB / 0.524 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/0.5226, allocations: 4 kB / 0.5241 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.5226, allocations: 3.984 kB / 0.5241 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.5333, allocations: 4.769 MB / 0.5287 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.5333, allocations: 3.938 kB / 0.5287 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/0.5341, allocations: 175.7 kB / 0.5289 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.5357, allocations: 500 kB / 0.5294 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.5358, allocations: 31.98 kB / 0.5294 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2464/0.7822, allocations: 10.94 MB / 0.5401 GB, free: 94.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.7822, allocations: 3.125 kB / 0.5401 GB, free: 94.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007833/0.79, allocations: 2.945 MB / 0.543 GB, free: 93.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.7916, allocations: 350 kB / 0.5433 GB, free: 93.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/0.7921, allocations: 32.41 kB / 0.5433 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.7934, allocations: 64.75 kB / 0.5434 GB, free: 93.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/0.7938, allocations: 108.6 kB / 0.5435 GB, free: 93.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.7938, allocations: 37.08 kB / 0.5435 GB, free: 93.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001924/0.7958, allocations: 1.183 MB / 0.5447 GB, free: 92.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7958, allocations: 0 / 0.5447 GB, free: 92.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002504/0.7983, allocations: 0.5453 MB / 0.5452 GB, free: 92.77 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.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,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 (83): * Single equations (assignments): 78 * 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 {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00463/0.8029, allocations: 3.556 MB / 0.5487 GB, free: 90.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.8059, allocations: 1.992 MB / 0.5506 GB, free: 90.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.8059, allocations: 5.344 kB / 0.5506 GB, free: 90.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.8078, allocations: 1.499 MB / 0.5521 GB, free: 89.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.81, allocations: 0.5267 MB / 0.5526 GB, free: 88.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/0.8351, allocations: 19.14 MB / 0.5713 GB, free: 72.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002286/0.8374, allocations: 2.289 MB / 0.5735 GB, free: 70.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001142/0.8385, allocations: 379.8 kB / 0.5739 GB, free: 70.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/0.8397, allocations: 1.112 MB / 0.575 GB, free: 69 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.8397, allocations: 0 / 0.575 GB, free: 69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1486/0.9883, allocations: 52.58 MB / 0.6263 GB, free: 16.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.76, allocations: 4.062 kB / 0.6263 GB, free: 16.82 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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: 20.97862919396721]