Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001863/0.001863, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002272/0.002272, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.488/1.488, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 53.34 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.2055/0.3124, allocations: 8.904 MB / 435.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.3177, allocations: 2.899 MB / 438.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.3192, allocations: 57.25 kB / 438.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.321, allocations: 0.6439 MB / 438.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.3235, allocations: 0.7381 MB / 439.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.3243, allocations: 334.1 kB / 439.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.327, allocations: 2.229 MB / 442.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.3285, allocations: 1.279 MB / 443.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.3304, allocations: 1.051 MB / 444.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.3325, allocations: 1.319 MB / 445.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004537/0.3329, allocations: 273.3 kB / 446 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009338/0.3339, allocations: 363.2 kB / 446.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007254/0.3346, allocations: 0.7699 MB / 447.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.3358, allocations: 1.209 MB / 448.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005052/0.3409, allocations: 3.545 MB / 451.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3409, allocations: 0 / 451.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3409, allocations: 0 / 451.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001204/0.341, allocations: 0 / 451.9 MB, free: 15.26 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006834/0.3478, allocations: 2.558 MB / 454.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3479, allocations: 10.25 kB / 454.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004454/0.3483, allocations: 270.3 kB / 454.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008618/0.3492, allocations: 265 kB / 455 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.3516, allocations: 1.315 MB / 456.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.3517, allocations: 133.7 kB / 456.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.352, allocations: 184.8 kB / 456.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004564/0.3566, allocations: 2.377 MB / 459 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.187e-05/0.3566, allocations: 8.078 kB / 459 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.3568, allocations: 72.94 kB / 459.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.3569, allocations: 91.22 kB / 459.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004167/0.3611, allocations: 1.969 MB / 461.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.3745, allocations: 7.084 MB / 468.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.3765, allocations: 1.22 MB / 469.5 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.378, allocations: 0.813 MB / 470.3 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.3783, allocations: 117.6 kB / 470.4 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.3783, allocations: 40.03 kB / 470.4 MB, free: 3.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.725e-06/0.3783, allocations: 4 kB / 470.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01523/0.3935, allocations: 6.112 MB / 476.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3936, allocations: 68.39 kB / 476.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.3957, allocations: 1.215 MB / 477.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.3959, allocations: 41.7 kB / 477.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007525/0.3966, allocations: 0.887 MB / 478.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.397, allocations: 392.7 kB / 479.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003881/0.3974, allocations: 218.9 kB / 479.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3976, allocations: 353.9 kB / 479.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.3987, allocations: 0.6205 MB / 480.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.4001, allocations: 0.9188 MB / 481.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.4026, allocations: 1.643 MB / 482.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.4026, allocations: 5.375 kB / 482.9 MB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004224/0.4068, allocations: 2.216 MB / 485.1 MB, free: 5.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4069, allocations: 8 kB / 485.1 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.4069, allocations: 12 kB / 485.1 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.4081, allocations: 481.2 kB / 485.6 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.4091, allocations: 271.6 kB / 485.9 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007602/0.4167, allocations: 7.023 MB / 492.9 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4182, allocations: 87.97 kB / 493 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.4183, allocations: 44 kB / 493 MB, free: 12.95 MB / 398.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.001194/0.4195, allocations: 0.5988 MB / 493.6 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.4198, allocations: 147 kB / 493.7 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/0.4237, allocations: 2.02 MB / 495.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.4237, allocations: 12 kB / 495.8 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.4237, allocations: 4 kB / 495.8 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4238, allocations: 7.984 kB / 495.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007756/0.4315, allocations: 4.2 MB / 500 MB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.4315, allocations: 4 kB / 500 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007954/0.4323, allocations: 175.8 kB / 0.4884 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.4338, allocations: 0.5313 MB / 0.489 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.4339, allocations: 35.97 kB / 0.489 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009159/0.4431, allocations: 8.628 MB / 0.4974 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.4431, allocations: 7.938 kB / 0.4974 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005212/0.4483, allocations: 2.935 MB / 0.5003 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008782/0.4492, allocations: 356 kB / 0.5006 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.4494, allocations: 27.94 kB / 0.5007 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/0.4502, allocations: 67.92 kB / 0.5007 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.4505, allocations: 92.81 kB / 0.5008 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.4505, allocations: 39.92 kB / 0.5009 GB, free: 8.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.4519, allocations: 0.8345 MB / 0.5017 GB, free: 7.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4519, allocations: 0 / 0.5017 GB, free: 7.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001607/0.4535, allocations: 419.9 kB / 0.5021 GB, free: 6.965 MB / 414.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.005551/0.4591, allocations: 3.567 MB / 0.5056 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003826/0.4629, allocations: 2.106 MB / 0.5076 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4629, allocations: 0 / 0.5076 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002438/0.4653, allocations: 1.429 MB / 0.509 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.4674, allocations: 391.4 kB / 0.5094 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/0.4932, allocations: 15.13 MB / 0.5242 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.4948, allocations: 1.634 MB / 0.5257 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00104/0.4959, allocations: 307.8 kB / 0.526 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.4969, allocations: 0.6906 MB / 0.5267 GB, free: 12.86 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4969, allocations: 0 / 0.5267 GB, free: 12.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09298/0.5899, allocations: 37.71 MB / 0.5635 GB, free: 7.547 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.32, allocations: 14.75 kB / 0.5636 GB, free: 7.535 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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: 17.734311755979434]