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.001303/0.001303, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001429/0.001429, allocations: 205.3 kB / 23.73 MB, free: 4.379 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.00146/0.00146, allocations: 47.92 kB / 377.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2252, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01477/0.2399, allocations: 11.78 MB / 442.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007798/0.2477, allocations: 4.265 MB / 447.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.2491, allocations: 103.4 kB / 447.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.2514, allocations: 0.9741 MB / 448.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.2545, allocations: 1.293 MB / 449.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.2564, allocations: 0.868 MB / 450.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004592/0.261, allocations: 3.947 MB / 454.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.2635, allocations: 1.792 MB / 456.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.2662, allocations: 1.901 MB / 458 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/0.27, allocations: 2.215 MB / 460.2 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.2712, allocations: 0.4961 MB / 460.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.2729, allocations: 0.7146 MB / 461.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.2741, allocations: 1.099 MB / 462.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002484/0.2766, allocations: 1.653 MB / 464.2 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007855/0.2844, allocations: 6.665 MB / 470.9 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.2844, allocations: 8 kB / 470.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2844, allocations: 0 / 470.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.2846, allocations: 0 / 470.9 MB, free: 14.64 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.01082/0.2954, allocations: 4.334 MB / 475.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.2954, allocations: 12.03 kB / 475.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006409/0.2961, allocations: 459 kB / 475.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.3003, allocations: 0.8027 MB / 476.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004815/0.3051, allocations: 2.333 MB / 478.8 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.3054, allocations: 234.2 kB / 479 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005591/0.3059, allocations: 308 kB / 479.3 MB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007507/0.3134, allocations: 4.389 MB / 483.7 MB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-05/0.3135, allocations: 3.984 kB / 483.7 MB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003071/0.3138, allocations: 128 kB / 483.8 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.314, allocations: 154.3 kB / 484 MB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006363/0.3203, allocations: 3.605 MB / 487.6 MB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.3408, allocations: 11.64 MB / 499.2 MB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005342/0.3462, allocations: 2.655 MB / 0.4901 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/0.3491, allocations: 1.5 MB / 0.4916 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006881/0.356, allocations: 3.363 MB / 0.4949 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.356, allocations: 51.56 kB / 0.4949 GB, free: 10.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.896e-06/0.356, allocations: 3.938 kB / 0.4949 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01101/0.367, allocations: 4.982 MB / 0.4998 GB, free: 5.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.3671, allocations: 68.41 kB / 0.4999 GB, free: 5.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.3698, allocations: 1.757 MB / 0.5016 GB, free: 3.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.37, allocations: 45.7 kB / 0.5016 GB, free: 3.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.3712, allocations: 1.45 MB / 0.503 GB, free: 1.867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.3716, allocations: 452.2 kB / 0.5035 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.3721, allocations: 287.5 kB / 0.5037 GB, free: 1.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3722, allocations: 305.1 kB / 0.504 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.3734, allocations: 0.6559 MB / 0.5047 GB, free: 184 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.3749, allocations: 1.15 MB / 0.5058 GB, free: 14.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.3777, allocations: 1.898 MB / 0.5077 GB, free: 12.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.3777, allocations: 4 kB / 0.5077 GB, free: 12.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004179/0.3819, allocations: 2.339 MB / 0.5099 GB, free: 10.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.3819, allocations: 12.28 kB / 0.51 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.3819, allocations: 20 kB / 0.51 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008378/0.3828, allocations: 315.2 kB / 0.5103 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.3841, allocations: 351.4 kB / 0.5106 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00673/0.3908, allocations: 6.26 MB / 0.5167 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.3923, allocations: 75.8 kB / 0.5168 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.3924, allocations: 79.97 kB / 0.5169 GB, free: 2.91 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.001761/0.3942, allocations: 1.001 MB / 0.5179 GB, free: 1.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/0.3946, allocations: 190.8 kB / 0.518 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.3985, allocations: 2.039 MB / 0.52 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.3985, allocations: 12 kB / 0.52 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3985, allocations: 12 kB / 0.52 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.3985, allocations: 7.969 kB / 0.5201 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008164/0.4067, allocations: 4.481 MB / 0.5244 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.4067, allocations: 4 kB / 0.5244 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.4075, allocations: 167.7 kB / 0.5246 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.4089, allocations: 0.4961 MB / 0.5251 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/0.409, allocations: 35.98 kB / 0.5251 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2104/0.6193, allocations: 10.83 MB / 0.5357 GB, free: 97.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6193, allocations: 2.156 kB / 0.5357 GB, free: 97.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004987/0.6243, allocations: 2.944 MB / 0.5386 GB, free: 97.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000902/0.6252, allocations: 347.9 kB / 0.5389 GB, free: 97.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.6254, allocations: 30.97 kB / 0.5389 GB, free: 97.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/0.6263, allocations: 65.92 kB / 0.539 GB, free: 97.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.6266, allocations: 109.1 kB / 0.5391 GB, free: 97.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.859e-05/0.6266, allocations: 38.12 kB / 0.5391 GB, free: 97.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.6282, allocations: 1.185 MB / 0.5403 GB, free: 97.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6282, allocations: 0 / 0.5403 GB, free: 97.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001906/0.6301, allocations: 0.5454 MB / 0.5408 GB, free: 97.06 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.004305/0.6344, allocations: 3.558 MB / 0.5443 GB, free: 95.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002774/0.6372, allocations: 1.991 MB / 0.5462 GB, free: 94.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6372, allocations: 4 kB / 0.5462 GB, free: 94.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.6391, allocations: 1.496 MB / 0.5477 GB, free: 93.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.6411, allocations: 0.5104 MB / 0.5482 GB, free: 93.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/0.6639, allocations: 19.14 MB / 0.5669 GB, free: 76.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.6653, allocations: 1.736 MB / 0.5686 GB, free: 74.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001/0.6663, allocations: 383.8 kB / 0.569 GB, free: 74.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.6673, allocations: 1.108 MB / 0.57 GB, free: 73.12 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.6673, allocations: 4 kB / 0.5701 GB, free: 73.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09062/0.758, allocations: 55.16 MB / 0.6239 GB, free: 18.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.5, allocations: 2.812 kB / 0.6239 GB, free: 18.55 MB / 446.1 MB " [Timeout remaining time 646] (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: 18.702642100979574]