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.001688/0.001688, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002016/0.002016, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.531/1.531, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.0018/0.0018, allocations: 67.88 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1024, allocations: 53.32 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1972/0.2996, allocations: 13.51 MB / 440.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008214/0.3078, allocations: 4.528 MB / 444.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/0.3108, allocations: 80.59 kB / 444.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.3132, allocations: 1.032 MB / 445.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.3165, allocations: 1.287 MB / 447.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.3186, allocations: 0.8805 MB / 448 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005343/0.324, allocations: 3.932 MB / 451.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002928/0.3269, allocations: 2.247 MB / 454.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.33, allocations: 1.863 MB / 456 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/0.3334, allocations: 2.211 MB / 458.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006293/0.3341, allocations: 0.4984 MB / 458.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.3356, allocations: 0.7283 MB / 459.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.3367, allocations: 1.108 MB / 460.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002473/0.3392, allocations: 2.085 MB / 462.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007438/0.3467, allocations: 6.661 MB / 469.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3467, allocations: 0 / 469.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3467, allocations: 0 / 469.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001434/0.3468, allocations: 0 / 469.3 MB, free: 3.348 MB / 366.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.0109/0.3577, allocations: 4.417 MB / 473.7 MB, free: 344 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3578, allocations: 8.969 kB / 473.8 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005976/0.3584, allocations: 442.4 kB / 474.2 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003975/0.3623, allocations: 0.81 MB / 475 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004647/0.367, allocations: 2.426 MB / 477.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.3671, allocations: 227.8 kB / 477.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004691/0.3676, allocations: 311.8 kB / 477.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007189/0.3748, allocations: 4.235 MB / 482.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.265e-05/0.3749, allocations: 7.953 kB / 482.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.3752, allocations: 127.9 kB / 482.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.3753, allocations: 150.3 kB / 482.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006187/0.3815, allocations: 3.616 MB / 486.1 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02047/0.402, allocations: 13.15 MB / 499.2 MB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007236/0.4092, allocations: 7.044 MB / 0.4944 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/0.4121, allocations: 1.52 MB / 0.4959 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007254/0.4193, allocations: 4.204 MB / 0.5 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.4194, allocations: 43.56 kB / 0.5 GB, free: 10.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.545e-06/0.4194, allocations: 0 / 0.5 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.0111/0.4305, allocations: 5.592 MB / 0.5055 GB, free: 4.441 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.4305, allocations: 64.41 kB / 0.5056 GB, free: 4.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.433, allocations: 1.723 MB / 0.5072 GB, free: 2.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.88e-05/0.4331, allocations: 45.7 kB / 0.5073 GB, free: 2.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.4342, allocations: 1.45 MB / 0.5087 GB, free: 1.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.4346, allocations: 456.1 kB / 0.5091 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/0.435, allocations: 291.5 kB / 0.5094 GB, free: 396 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4352, allocations: 305.1 kB / 0.5097 GB, free: 88 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.4363, allocations: 0.656 MB / 0.5103 GB, free: 15.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.4377, allocations: 1.121 MB / 0.5114 GB, free: 14.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002731/0.4405, allocations: 1.902 MB / 0.5133 GB, free: 12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4405, allocations: 4 kB / 0.5133 GB, free: 12 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004199/0.4447, allocations: 2.406 MB / 0.5157 GB, free: 9.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.4447, allocations: 12.28 kB / 0.5157 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.4447, allocations: 16 kB / 0.5157 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008204/0.4456, allocations: 319.2 kB / 0.516 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.4468, allocations: 352.2 kB / 0.5163 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/0.4538, allocations: 6.633 MB / 0.5228 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.4554, allocations: 75.91 kB / 0.5229 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.4556, allocations: 67.98 kB / 0.5229 GB, free: 1.668 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.001992/0.4575, allocations: 1.005 MB / 0.5239 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004377/0.458, allocations: 186.8 kB / 0.5241 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/0.4622, allocations: 2.194 MB / 0.5262 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.4622, allocations: 12 kB / 0.5262 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.4622, allocations: 11.94 kB / 0.5263 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4622, allocations: 7.969 kB / 0.5263 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008824/0.4711, allocations: 4.94 MB / 0.5311 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4711, allocations: 0 / 0.5311 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/0.4718, allocations: 167.8 kB / 0.5313 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/0.473, allocations: 496.2 kB / 0.5317 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.4731, allocations: 31.98 kB / 0.5318 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.4855, allocations: 11.49 MB / 0.543 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4855, allocations: 0 / 0.543 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005488/0.491, allocations: 3.097 MB / 0.546 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.4922, allocations: 419.7 kB / 0.5464 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.4924, allocations: 35.98 kB / 0.5464 GB, free: 8.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007923/0.4932, allocations: 59.95 kB / 0.5465 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.4935, allocations: 112.7 kB / 0.5466 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.4936, allocations: 35.98 kB / 0.5466 GB, free: 8.355 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001884/0.4954, allocations: 1.186 MB / 0.5478 GB, free: 7.176 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4954, allocations: 0 / 0.5478 GB, free: 7.176 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002108/0.4976, allocations: 0.5391 MB / 0.5483 GB, free: 6.637 MB / 462.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.005641/0.5032, allocations: 3.701 MB / 0.5519 GB, free: 2.844 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003682/0.5069, allocations: 2.07 MB / 0.554 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.5069, allocations: 0 / 0.554 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.5093, allocations: 1.498 MB / 0.5554 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.5119, allocations: 0.5136 MB / 0.5559 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/0.5442, allocations: 19.28 MB / 0.5747 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.5465, allocations: 2.293 MB / 0.577 GB, free: 8.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00132/0.5478, allocations: 383.8 kB / 0.5774 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/0.5493, allocations: 1.112 MB / 0.5784 GB, free: 6.848 MB / 494.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5493, allocations: 4 kB / 0.5784 GB, free: 6.844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7052/1.254, allocations: 51.33 MB / 0.6286 GB, free: 169 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.95, allocations: 12.59 kB / 0.6286 GB, free: 169 MB / 0.5137 GB " [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_2/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_2/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: 21.79620439512655]