Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001461/0.001461, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001726/0.001726, allocations: 212.2 kB / 24.53 MB, free: 4.066 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 378.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2614, allocations: 53.37 MB / 432 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02408/0.2855, allocations: 21.69 MB / 453.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01402/0.2995, allocations: 6.835 MB / 460.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003714/0.3032, allocations: 171.2 kB / 460.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01594/0.3191, allocations: 6.929 MB / 467.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009572/0.3287, allocations: 2.88 MB / 470.5 MB, free: 188 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006538/0.3353, allocations: 1.613 MB / 472.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.349, allocations: 9.184 MB / 481.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02306/0.3721, allocations: 11.06 MB / 492.3 MB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008914/0.381, allocations: 4.762 MB / 497.1 MB, free: 5.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009337/0.3903, allocations: 5.249 MB / 0.4906 GB, free: 128 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004102/0.3944, allocations: 1.359 MB / 0.4919 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005787/0.4002, allocations: 1.707 MB / 0.4936 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004494/0.4047, allocations: 2.619 MB / 0.4961 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009182/0.4139, allocations: 4.966 MB / 0.501 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02339/0.4373, allocations: 18.25 MB / 0.5188 GB, free: 3.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4373, allocations: 0 / 0.5188 GB, free: 3.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4373, allocations: 0 / 0.5188 GB, free: 3.141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004986/0.4378, allocations: 0 / 0.5188 GB, free: 3.141 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03364/0.4714, allocations: 10.66 MB / 0.5292 GB, free: 8.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.4715, allocations: 12.03 kB / 0.5292 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002236/0.4717, allocations: 207.4 kB / 0.5294 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004055/0.4758, allocations: 1.09 MB / 0.5305 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03399/0.5098, allocations: 5.903 MB / 0.5362 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4595/0.9693, allocations: 5.765 MB / 0.5419 GB, free: 85.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.9696, allocations: 0.5558 MB / 0.5424 GB, free: 85.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/0.972, allocations: 0.729 MB / 0.5431 GB, free: 85.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02674/0.9987, allocations: 12.89 MB / 0.5557 GB, free: 80 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004374/0.9991, allocations: 7.75 kB / 0.5557 GB, free: 80 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00258/1.002, allocations: 311.7 kB / 0.556 GB, free: 79.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005139/1.002, allocations: 0.495 MB / 0.5565 GB, free: 79.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/1.026, allocations: 12.62 MB / 0.5688 GB, free: 69.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05798/1.084, allocations: 40.54 MB / 0.6084 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/1.097, allocations: 8.611 MB / 0.6168 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004072/1.101, allocations: 2.914 MB / 0.6197 GB, free: 18.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/1.102, allocations: 117.3 kB / 0.6198 GB, free: 18.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/1.102, allocations: 77.78 kB / 0.6199 GB, free: 18.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.891e-06/1.102, allocations: 0 / 0.6199 GB, free: 18.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03619/1.138, allocations: 16.94 MB / 0.6364 GB, free: 1.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/1.138, allocations: 106.7 kB / 0.6365 GB, free: 1.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004921/1.143, allocations: 2.836 MB / 0.6393 GB, free: 14.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004698/1.144, allocations: 93.7 kB / 0.6394 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/1.146, allocations: 3.14 MB / 0.6424 GB, free: 11.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00184/1.148, allocations: 1.471 MB / 0.6439 GB, free: 9.684 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002293/1.15, allocations: 0.9544 MB / 0.6448 GB, free: 8.719 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/1.15, allocations: 301.1 kB / 0.6451 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004667/1.155, allocations: 2.512 MB / 0.6475 GB, free: 5.902 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005999/1.161, allocations: 4.117 MB / 0.6516 GB, free: 1.062 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/1.173, allocations: 7.206 MB / 0.6586 GB, free: 9.137 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-05/1.173, allocations: 16 kB / 0.6586 GB, free: 9.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.02321/1.196, allocations: 8.025 MB / 0.6664 GB, free: 1.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.289e-05/1.197, allocations: 31.94 kB / 0.6665 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/1.197, allocations: 52 kB / 0.6665 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00457/1.201, allocations: 1.228 MB / 0.6677 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006308/1.208, allocations: 1.135 MB / 0.6688 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/1.227, allocations: 11.04 MB / 0.6796 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/1.23, allocations: 263.7 kB / 0.6799 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008093/1.231, allocations: 236 kB / 0.6801 GB, free: 2.867 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005125/1.236, allocations: 2.956 MB / 0.683 GB, free: 15.89 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008961/1.237, allocations: 373.6 kB / 0.6833 GB, free: 15.53 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.25, allocations: 6.678 MB / 0.6899 GB, free: 8.809 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.094e-05/1.25, allocations: 44 kB / 0.6899 GB, free: 8.766 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/1.25, allocations: 8 kB / 0.6899 GB, free: 8.758 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-05/1.25, allocations: 19.92 kB / 0.6899 GB, free: 8.738 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02919/1.279, allocations: 14.88 MB / 0.7045 GB, free: 9.801 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/1.279, allocations: 4 kB / 0.7045 GB, free: 9.797 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/1.282, allocations: 0.7489 MB / 0.7052 GB, free: 9.047 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003415/1.286, allocations: 1.136 MB / 0.7063 GB, free: 7.902 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000447/1.286, allocations: 99.97 kB / 0.7064 GB, free: 7.805 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/1.301, allocations: 9.947 MB / 0.7161 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.301, allocations: 11.94 kB / 0.7161 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/1.319, allocations: 10.03 MB / 0.7259 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/1.321, allocations: 0.884 MB / 0.7268 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.322, allocations: 91.94 kB / 0.7269 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/1.325, allocations: 195.8 kB / 0.7271 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000868/1.326, allocations: 319.1 kB / 0.7274 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00041/1.326, allocations: 131.9 kB / 0.7275 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003661/1.33, allocations: 1.955 MB / 0.7294 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.33, allocations: 0 / 0.7294 GB, free: 15.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005046/1.335, allocations: 1.394 MB / 0.7308 GB, free: 14.49 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01747/1.352, allocations: 10.73 MB / 0.7412 GB, free: 3.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2122/1.565, allocations: 6.488 MB / 0.7476 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.565, allocations: 1.188 kB / 0.7476 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005896/1.57, allocations: 3.324 MB / 0.7508 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/1.574, allocations: 0.8502 MB / 0.7516 GB, free: 190.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06427/1.639, allocations: 47.21 MB / 0.7977 GB, free: 154.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004757/1.643, allocations: 5.084 MB / 0.8027 GB, free: 149.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003694/1.647, allocations: 1.614 MB / 0.8043 GB, free: 147.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003361/1.65, allocations: 2.678 MB / 0.8069 GB, free: 144.9 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.65, allocations: 0 / 0.8069 GB, free: 144.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/1.804, allocations: 116.3 MB / 0.9205 GB, free: 29.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.63/20.43, allocations: 12.05 kB / 0.9205 GB, free: 29.14 MB / 0.545 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_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_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 654] Reference file matches [Calling sys.exit(0), Time elapsed: 34.0323242500308]