Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 114 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 45.88 kB / 300.2 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.08661, allocations: 49.45 MB / 349.7 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009562/0.0962, allocations: 8.785 MB / 358.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.101, allocations: 2.793 MB / 361.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009076/0.102, allocations: 43.81 kB / 361.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1034, allocations: 0.5362 MB / 361.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.1051, allocations: 0.6217 MB / 362.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.1058, allocations: 299.6 kB / 362.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002389/0.1082, allocations: 2.214 MB / 365 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.11, allocations: 1.734 MB / 366.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.1113, allocations: 1.032 MB / 367.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.1129, allocations: 1.304 MB / 369 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.1132, allocations: 268 kB / 369.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00058/0.1138, allocations: 359.8 kB / 369.7 MB, free: 484 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1458/0.2596, allocations: 0.7575 MB / 370.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.2611, allocations: 1.205 MB / 371.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003686/0.2648, allocations: 3.49 MB / 375.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2648, allocations: 0.6094 kB / 375.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2649, allocations: 0 / 375.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.506e-05/0.2649, allocations: 1.219 kB / 375.1 MB, free: 13.05 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005401/0.2704, allocations: 2.486 MB / 377.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2704, allocations: 14.06 kB / 377.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003792/0.2708, allocations: 271.5 kB / 377.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006912/0.2715, allocations: 247.8 kB / 378.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.2734, allocations: 1.264 MB / 379.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.034e-05/0.2735, allocations: 133.2 kB / 379.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.2737, allocations: 189.6 kB / 379.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/0.2776, allocations: 2.372 MB / 382.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.334e-05/0.2776, allocations: 7.672 kB / 382.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.2778, allocations: 71.72 kB / 382.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.303e-05/0.2779, allocations: 90.22 kB / 382.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/0.2811, allocations: 1.965 MB / 384.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.2917, allocations: 7.15 MB / 391.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.2932, allocations: 1.279 MB / 392.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.2946, allocations: 0.8668 MB / 393.5 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.2948, allocations: 128.1 kB / 393.6 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2948, allocations: 43.69 kB / 393.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.126e-06/0.2949, allocations: 0 / 393.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01199/0.3069, allocations: 6.084 MB / 399.7 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.3069, allocations: 64.34 kB / 399.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.3085, allocations: 1.213 MB / 401 MB, free: 15.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-05/0.3086, allocations: 48.55 kB / 401.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005748/0.3092, allocations: 0.8612 MB / 401.9 MB, free: 15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.3095, allocations: 364.6 kB / 402.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.3098, allocations: 218.8 kB / 402.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.31, allocations: 361.9 kB / 402.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009857/0.311, allocations: 0.6182 MB / 403.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.3122, allocations: 0.9177 MB / 404.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.3144, allocations: 1.646 MB / 406 MB, free: 10.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3144, allocations: 4 kB / 406 MB, free: 10.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003748/0.3182, allocations: 2.223 MB / 408.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3182, allocations: 8 kB / 408.3 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3182, allocations: 12 kB / 408.3 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.3193, allocations: 479.2 kB / 408.8 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/0.3203, allocations: 272 kB / 409 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.3267, allocations: 7.024 MB / 416 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.328, allocations: 87.81 kB / 416.1 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.34e-05/0.3281, allocations: 44 kB / 416.2 MB, free: 196 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001064/0.3292, allocations: 0.6026 MB / 416.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.3294, allocations: 142.1 kB / 416.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.3328, allocations: 2.026 MB / 418.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3329, allocations: 12 kB / 419 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3329, allocations: 4 kB / 419 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.3329, allocations: 7.969 kB / 419 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006778/0.3397, allocations: 4.227 MB / 423.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.3397, allocations: 4 kB / 423.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007672/0.3405, allocations: 182.8 kB / 423.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.3418, allocations: 0.5148 MB / 423.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-05/0.3419, allocations: 31.98 kB / 423.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007552/0.3495, allocations: 8.636 MB / 432.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.3495, allocations: 4.75 kB / 432.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/0.3542, allocations: 2.941 MB / 435.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/0.355, allocations: 343.3 kB / 435.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/0.3554, allocations: 31.98 kB / 435.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009811/0.3564, allocations: 75.86 kB / 435.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.3566, allocations: 87.59 kB / 436 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.3567, allocations: 35.94 kB / 436.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001429/0.3582, allocations: 0.841 MB / 436.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3582, allocations: 4 kB / 436.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00168/0.3599, allocations: 407.9 kB / 437.3 MB, free: 10.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005026/0.3649, allocations: 3.579 MB / 440.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00423/0.3692, allocations: 2.496 MB / 443.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.3692, allocations: 0 / 443.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002257/0.3714, allocations: 1.481 MB / 444.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.3738, allocations: 386.5 kB / 445.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/0.4036, allocations: 16.95 MB / 462.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.4052, allocations: 1.638 MB / 463.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001032/0.4062, allocations: 299.8 kB / 464.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009734/0.4072, allocations: 0.6906 MB / 464.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4072, allocations: 0 / 464.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06587/0.4731, allocations: 36.43 MB / 0.4895 GB, free: 9.91 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.4733, allocations: 252.4 kB / 0.4897 GB, free: 9.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/2.993, allocations: 0 / 0.4897 GB, free: 9.652 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches