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.001385/0.001385, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.00175/0.00175, 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 47.92 kB / 377.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2908, allocations: 53.36 MB / 431.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0169/0.3077, allocations: 13.57 MB / 444.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009685/0.3174, allocations: 4.528 MB / 449.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.32, allocations: 103.4 kB / 449.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003633/0.3237, allocations: 1.033 MB / 450.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005073/0.3287, allocations: 1.309 MB / 451.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.3317, allocations: 0.9068 MB / 452.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006551/0.3382, allocations: 3.934 MB / 456.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003788/0.342, allocations: 1.792 MB / 458.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.3458, allocations: 1.897 MB / 460.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004467/0.3503, allocations: 2.215 MB / 462.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.3518, allocations: 0.5 MB / 462.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.3543, allocations: 0.7263 MB / 463.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00204/0.3563, allocations: 1.118 MB / 464.8 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00424/0.3606, allocations: 2.077 MB / 466.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.3711, allocations: 6.654 MB / 473.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3711, allocations: 0 / 473.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3711, allocations: 3.938 kB / 473.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.3713, allocations: 0 / 473.5 MB, free: 12.23 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.01432/0.3856, allocations: 4.345 MB / 477.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3857, allocations: 8.031 kB / 477.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001373/0.3871, allocations: 451.2 kB / 478.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.3919, allocations: 0.8027 MB / 479.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006111/0.398, allocations: 2.36 MB / 481.5 MB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.3983, allocations: 242.2 kB / 481.7 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.3995, allocations: 311.9 kB / 482 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.4108, allocations: 4.231 MB / 486.2 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.4109, allocations: 3.938 kB / 486.2 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008463/0.4118, allocations: 132 kB / 486.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/0.412, allocations: 146.3 kB / 486.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008861/0.4208, allocations: 3.616 MB / 490.1 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02803/0.4489, allocations: 12.82 MB / 0.4912 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00603/0.4549, allocations: 2.656 MB / 0.4938 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.4582, allocations: 1.511 MB / 0.4952 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008533/0.4667, allocations: 3.71 MB / 0.4989 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.4668, allocations: 43.56 kB / 0.4989 GB, free: 6.461 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 5.27e-06/0.4668, allocations: 0 / 0.4989 GB, free: 6.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01241/0.4792, allocations: 4.998 MB / 0.5038 GB, free: 1.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.4793, allocations: 64.41 kB / 0.5038 GB, free: 1.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.483, allocations: 1.723 MB / 0.5055 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.4832, allocations: 45.7 kB / 0.5056 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.4845, allocations: 1.454 MB / 0.507 GB, free: 14.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005212/0.4851, allocations: 456.1 kB / 0.5074 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.4856, allocations: 291.5 kB / 0.5077 GB, free: 13.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4858, allocations: 301.1 kB / 0.508 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4871, allocations: 0.6559 MB / 0.5086 GB, free: 12.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.4887, allocations: 1.121 MB / 0.5097 GB, free: 11.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.4918, allocations: 1.898 MB / 0.5116 GB, free: 8.988 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/0.4918, allocations: 4 kB / 0.5116 GB, free: 8.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004788/0.4966, allocations: 2.335 MB / 0.5139 GB, free: 6.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.4966, allocations: 16.28 kB / 0.5139 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/0.4967, allocations: 16 kB / 0.5139 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009715/0.4977, allocations: 323.1 kB / 0.5142 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.499, allocations: 347.5 kB / 0.5145 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00728/0.5063, allocations: 6.322 MB / 0.5207 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.5079, allocations: 79.84 kB / 0.5208 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.5081, allocations: 68 kB / 0.5208 GB, free: 15.12 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.002272/0.5104, allocations: 1.005 MB / 0.5218 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/0.5109, allocations: 190.8 kB / 0.522 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.5153, allocations: 2.035 MB / 0.524 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.5153, allocations: 12 kB / 0.524 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/0.5153, allocations: 8 kB / 0.524 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.5153, allocations: 3.984 kB / 0.524 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009781/0.5251, allocations: 4.765 MB / 0.5287 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.5251, allocations: 7.938 kB / 0.5287 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/0.5259, allocations: 167.8 kB / 0.5288 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.5273, allocations: 0.4884 MB / 0.5293 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.5274, allocations: 39.98 kB / 0.5294 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3075/0.8349, allocations: 10.93 MB / 0.54 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8349, allocations: 5.484 kB / 0.54 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004934/0.8399, allocations: 2.949 MB / 0.5429 GB, free: 93.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000996/0.8408, allocations: 345.3 kB / 0.5432 GB, free: 93.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.8411, allocations: 29.92 kB / 0.5433 GB, free: 93.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008582/0.842, allocations: 73.41 kB / 0.5433 GB, free: 93.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/0.8423, allocations: 99.22 kB / 0.5434 GB, free: 93.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.8424, allocations: 36.11 kB / 0.5435 GB, free: 93.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00178/0.8441, allocations: 1.182 MB / 0.5446 GB, free: 93.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8441, allocations: 7.047 kB / 0.5446 GB, free: 93.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002069/0.8462, allocations: 0.5444 MB / 0.5452 GB, free: 92.98 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.004326/0.8505, allocations: 3.566 MB / 0.5486 GB, free: 91.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.8534, allocations: 1.993 MB / 0.5506 GB, free: 90.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8534, allocations: 3.938 kB / 0.5506 GB, free: 90.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.8553, allocations: 1.496 MB / 0.5521 GB, free: 89.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.8574, allocations: 0.508 MB / 0.5526 GB, free: 89.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02477/0.8822, allocations: 19.15 MB / 0.5713 GB, free: 73.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.8838, allocations: 2.285 MB / 0.5735 GB, free: 70.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001123/0.8849, allocations: 387.8 kB / 0.5739 GB, free: 70.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.886, allocations: 1.108 MB / 0.5749 GB, free: 69.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.193e-06/0.886, allocations: 0 / 0.5749 GB, free: 69.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/1.012, allocations: 52.58 MB / 0.6263 GB, free: 17.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/16.14, allocations: 2.609 kB / 0.6263 GB, free: 17.14 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 21.48591485596262]