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.001632/0.001632, allocations: 115.6 kB / 20.44 MB, free: 1.465 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.00179/0.00179, allocations: 212.9 kB / 23.74 MB, free: 4.691 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001704/0.001704, allocations: 47.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3072, allocations: 53.36 MB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01406/0.3213, allocations: 8.965 MB / 440.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007307/0.3286, allocations: 2.913 MB / 443 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.3306, allocations: 55.62 kB / 443.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.3332, allocations: 0.6407 MB / 443.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.3362, allocations: 0.7535 MB / 444.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.3373, allocations: 331.5 kB / 444.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004018/0.3414, allocations: 2.245 MB / 447 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.3433, allocations: 1.017 MB / 448.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.3453, allocations: 1.055 MB / 449.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.3472, allocations: 1.323 MB / 450.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004003/0.3476, allocations: 271.9 kB / 450.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.3484, allocations: 363.9 kB / 451.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008695/0.3493, allocations: 0.7713 MB / 451.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.3506, allocations: 1.213 MB / 453 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.3553, allocations: 3.539 MB / 456.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.3554, allocations: 0 / 456.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.668e-06/0.3554, allocations: 0 / 456.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000216/0.3556, allocations: 0 / 456.6 MB, free: 13.3 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.006385/0.362, allocations: 2.482 MB / 459.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.362, allocations: 8.031 kB / 459.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003457/0.3624, allocations: 266 kB / 459.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006954/0.3631, allocations: 271.4 kB / 459.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.3655, allocations: 1.234 MB / 460.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.3656, allocations: 135.7 kB / 461 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.3659, allocations: 187.9 kB / 461.1 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/0.3698, allocations: 2.374 MB / 463.5 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.3698, allocations: 11.89 kB / 463.5 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/0.37, allocations: 72 kB / 463.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.3702, allocations: 95.5 kB / 463.7 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.3736, allocations: 1.962 MB / 465.7 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.3852, allocations: 6.949 MB / 472.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.3871, allocations: 0.9961 MB / 473.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.3886, allocations: 0.8069 MB / 474.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.3888, allocations: 44.97 kB / 474.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.3889, allocations: 43.56 kB / 474.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.745e-06/0.3889, allocations: 0 / 474.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01449/0.4034, allocations: 5.666 MB / 480.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.4035, allocations: 64.41 kB / 480.2 MB, free: 5.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.4056, allocations: 1.215 MB / 481.4 MB, free: 4.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9e-05/0.4057, allocations: 45.7 kB / 481.5 MB, free: 3.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008264/0.4065, allocations: 0.8909 MB / 482.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/0.4069, allocations: 380.8 kB / 482.7 MB, free: 2.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.4073, allocations: 222.9 kB / 483 MB, free: 2.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.4075, allocations: 357.9 kB / 483.3 MB, free: 2.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.4086, allocations: 0.6116 MB / 483.9 MB, free: 1.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.4099, allocations: 0.9227 MB / 484.8 MB, free: 480 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.4125, allocations: 1.647 MB / 486.5 MB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.4125, allocations: 4 kB / 486.5 MB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004049/0.4165, allocations: 2.145 MB / 488.6 MB, free: 12.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.4166, allocations: 11.98 kB / 488.7 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.4166, allocations: 8 kB / 488.7 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.4177, allocations: 479.8 kB / 489.1 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009953/0.4187, allocations: 267.6 kB / 489.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007559/0.4263, allocations: 6.715 MB / 496.1 MB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4275, allocations: 83.94 kB / 496.2 MB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.616e-05/0.4276, allocations: 55.92 kB / 496.2 MB, free: 4.57 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.001304/0.4289, allocations: 0.591 MB / 496.8 MB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.4292, allocations: 147 kB / 497 MB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/0.4329, allocations: 1.945 MB / 498.9 MB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.4329, allocations: 8 kB / 498.9 MB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.4329, allocations: 8 kB / 498.9 MB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.4329, allocations: 11.97 kB / 499 MB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007692/0.4406, allocations: 4.1 MB / 0.4913 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.4406, allocations: 4 kB / 0.4913 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007725/0.4414, allocations: 183.7 kB / 0.4914 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.4428, allocations: 0.5185 MB / 0.4919 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.4429, allocations: 31.98 kB / 0.492 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009563/0.4525, allocations: 8.214 MB / 0.5 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.4525, allocations: 8.25 kB / 0.5 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/0.4576, allocations: 2.863 MB / 0.5028 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008656/0.4584, allocations: 275 kB / 0.5031 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/0.4588, allocations: 35.92 kB / 0.5031 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/0.4597, allocations: 71.86 kB / 0.5032 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.4599, allocations: 100.7 kB / 0.5033 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/0.46, allocations: 28 kB / 0.5033 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.4615, allocations: 0.8424 MB / 0.5041 GB, free: 15.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4615, allocations: 0 / 0.5041 GB, free: 15.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001634/0.4631, allocations: 408 kB / 0.5045 GB, free: 15.5 MB / 430.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.0053/0.4684, allocations: 3.497 MB / 0.5079 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003682/0.4721, allocations: 1.955 MB / 0.5098 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4721, allocations: 0 / 0.5098 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.4744, allocations: 1.354 MB / 0.5111 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.4765, allocations: 391.8 kB / 0.5115 GB, free: 8.141 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/0.5027, allocations: 15.01 MB / 0.5262 GB, free: 8.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.5043, allocations: 1.634 MB / 0.5278 GB, free: 6.887 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001191/0.5055, allocations: 299.8 kB / 0.5281 GB, free: 6.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.5066, allocations: 0.6867 MB / 0.5287 GB, free: 5.902 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5066, allocations: 0 / 0.5287 GB, free: 5.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3275/0.8342, allocations: 38.69 MB / 0.5665 GB, free: 80.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.48, allocations: 0 / 0.5665 GB, free: 80.82 MB / 446.1 MB " [Timeout remaining time 644] (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: 19.913775891065598]