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_Inverter.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.001273/0.001273, 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.001368/0.001368, 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.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 7.785 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_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 48.02 kB / 378.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2492, allocations: 53.37 MB / 431.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01512/0.2643, allocations: 11.77 MB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008589/0.2729, allocations: 4.252 MB / 447.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.2751, allocations: 99.38 kB / 448 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002946/0.2781, allocations: 0.9863 MB / 449 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.282, allocations: 1.286 MB / 450.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.2843, allocations: 0.8681 MB / 451.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005241/0.2895, allocations: 3.943 MB / 455.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.2922, allocations: 1.789 MB / 456.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.2952, allocations: 1.897 MB / 458.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.299, allocations: 2.215 MB / 461 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009593/0.3, allocations: 0.5 MB / 461.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.3018, allocations: 0.7185 MB / 462.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.3029, allocations: 1.11 MB / 463.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.3052, allocations: 1.649 MB / 465 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007779/0.313, allocations: 6.685 MB / 471.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.313, allocations: 0 / 471.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.313, allocations: 3.938 kB / 471.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.3131, allocations: 0 / 471.6 MB, free: 14.79 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.01123/0.3244, allocations: 4.338 MB / 476 MB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3244, allocations: 8.031 kB / 476 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.6e-05/0.3245, allocations: 82.44 kB / 476.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007576/0.3253, allocations: 459.2 kB / 476.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/0.3294, allocations: 0.7988 MB / 477.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.3341, allocations: 2.367 MB / 479.7 MB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.3343, allocations: 230.2 kB / 479.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005419/0.3349, allocations: 311.9 kB / 480.2 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007964/0.3428, allocations: 4.385 MB / 484.6 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.3429, allocations: 0 / 484.6 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/0.3432, allocations: 128 kB / 484.7 MB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/0.3434, allocations: 154.3 kB / 484.9 MB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006563/0.3499, allocations: 3.612 MB / 488.5 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0197/0.3696, allocations: 11.64 MB / 0.4884 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005249/0.3749, allocations: 2.653 MB / 0.491 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/0.3778, allocations: 1.499 MB / 0.4925 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006683/0.3844, allocations: 3.371 MB / 0.4958 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.3845, allocations: 51.56 kB / 0.4958 GB, free: 10.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.306e-06/0.3845, allocations: 0 / 0.4958 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01108/0.3956, allocations: 4.994 MB / 0.5007 GB, free: 5.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.3956, allocations: 68.41 kB / 0.5008 GB, free: 5.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.3981, allocations: 1.719 MB / 0.5024 GB, free: 3.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.032e-05/0.3982, allocations: 45.7 kB / 0.5025 GB, free: 3.387 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.3994, allocations: 1.45 MB / 0.5039 GB, free: 1.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.3998, allocations: 460.1 kB / 0.5043 GB, free: 1.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004686/0.4003, allocations: 283.5 kB / 0.5046 GB, free: 1.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4004, allocations: 305.1 kB / 0.5049 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.4016, allocations: 0.6597 MB / 0.5055 GB, free: 232 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.4031, allocations: 1.154 MB / 0.5067 GB, free: 14.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.4059, allocations: 1.898 MB / 0.5085 GB, free: 12.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.4059, allocations: 4 kB / 0.5085 GB, free: 12.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004148/0.4101, allocations: 2.331 MB / 0.5108 GB, free: 10.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.4101, allocations: 12.28 kB / 0.5108 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.4101, allocations: 19.94 kB / 0.5108 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/0.411, allocations: 323.2 kB / 0.5111 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.4123, allocations: 343.4 kB / 0.5115 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006627/0.4189, allocations: 6.264 MB / 0.5176 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.4202, allocations: 79.84 kB / 0.5177 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.4204, allocations: 71.98 kB / 0.5177 GB, free: 2.961 MB / 430.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.001671/0.422, allocations: 1.005 MB / 0.5187 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/0.4224, allocations: 194.8 kB / 0.5189 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.4263, allocations: 2.031 MB / 0.5209 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.4264, allocations: 12 kB / 0.5209 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.4264, allocations: 12 kB / 0.5209 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.4264, allocations: 3.984 kB / 0.5209 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007779/0.4342, allocations: 4.496 MB / 0.5253 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.4342, allocations: 3.938 kB / 0.5253 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/0.4349, allocations: 163.8 kB / 0.5255 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.4362, allocations: 500 kB / 0.5259 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.701e-05/0.4363, allocations: 39.98 kB / 0.526 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2046/0.6409, allocations: 10.82 MB / 0.5365 GB, free: 98.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6409, allocations: 1.781 kB / 0.5365 GB, free: 98.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005/0.6459, allocations: 2.946 MB / 0.5394 GB, free: 97.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008523/0.6468, allocations: 347.6 kB / 0.5397 GB, free: 97.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.647, allocations: 31.92 kB / 0.5398 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.6478, allocations: 65.22 kB / 0.5398 GB, free: 97.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.6481, allocations: 107.2 kB / 0.5399 GB, free: 97.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/0.6482, allocations: 36.83 kB / 0.54 GB, free: 97.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00161/0.6498, allocations: 1.182 MB / 0.5411 GB, free: 97.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6498, allocations: 1.094 kB / 0.5411 GB, free: 97.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001895/0.6517, allocations: 0.5465 MB / 0.5417 GB, free: 97.22 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.00419/0.6559, allocations: 3.562 MB / 0.5451 GB, free: 95.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.6586, allocations: 1.991 MB / 0.5471 GB, free: 94.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6586, allocations: 3.906 kB / 0.5471 GB, free: 94.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.6605, allocations: 1.502 MB / 0.5486 GB, free: 93.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.6626, allocations: 0.5169 MB / 0.5491 GB, free: 93.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/0.6856, allocations: 19.15 MB / 0.5678 GB, free: 76.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.6869, allocations: 1.732 MB / 0.5695 GB, free: 74.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.6879, allocations: 375.9 kB / 0.5698 GB, free: 74.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009975/0.6889, allocations: 1.12 MB / 0.5709 GB, free: 73.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6889, allocations: 0 / 0.5709 GB, free: 73.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08682/0.7757, allocations: 54.62 MB / 0.6242 GB, free: 19.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.67, allocations: 3.984 kB / 0.6243 GB, free: 19.17 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_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_Inverter.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.126553095062263]