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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 47.92 kB / 365.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09227, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01119/0.1035, allocations: 8.882 MB / 426.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005942/0.1094, allocations: 2.827 MB / 429.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1105, allocations: 43.81 kB / 429.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.1122, allocations: 0.6407 MB / 430.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.1143, allocations: 0.738 MB / 430.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.1151, allocations: 331.3 kB / 431.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002651/0.1177, allocations: 2.226 MB / 433.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.1194, allocations: 1.266 MB / 434.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.1209, allocations: 1.024 MB / 435.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.1227, allocations: 1.312 MB / 437.1 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004268/0.1232, allocations: 268 kB / 437.3 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007013/0.1239, allocations: 367.8 kB / 437.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000795/0.1246, allocations: 0.7791 MB / 438.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.126, allocations: 1.206 MB / 439.7 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003902/0.1299, allocations: 3.53 MB / 443.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1299, allocations: 0 / 443.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1299, allocations: 4 kB / 443.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.095e-05/0.13, allocations: 0 / 443.2 MB, free: 3.031 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.005098/0.1351, allocations: 2.538 MB / 445.8 MB, free: 444 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1351, allocations: 12.03 kB / 445.8 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003567/0.1355, allocations: 266 kB / 446 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1743/0.3098, allocations: 261.6 kB / 446.3 MB, free: 29.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.3126, allocations: 1.311 MB / 447.6 MB, free: 28.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.731e-05/0.3127, allocations: 138.1 kB / 447.7 MB, free: 28.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/0.3131, allocations: 180 kB / 447.9 MB, free: 28.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003708/0.3168, allocations: 2.374 MB / 450.3 MB, free: 28.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.3168, allocations: 12.22 kB / 450.3 MB, free: 28.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.317, allocations: 76.52 kB / 450.4 MB, free: 28.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.734e-05/0.3171, allocations: 91.47 kB / 450.5 MB, free: 28.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/0.3206, allocations: 1.97 MB / 452.4 MB, free: 28.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.3329, allocations: 7.073 MB / 459.5 MB, free: 24.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.3347, allocations: 1.215 MB / 460.7 MB, free: 23.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.3362, allocations: 0.8148 MB / 461.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.3364, allocations: 120.3 kB / 461.6 MB, free: 23.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3364, allocations: 41.2 kB / 461.7 MB, free: 23.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.966e-06/0.3364, allocations: 0 / 461.7 MB, free: 23.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.0129/0.3493, allocations: 6.123 MB / 467.8 MB, free: 20.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.3493, allocations: 62.88 kB / 467.9 MB, free: 20.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.3511, allocations: 1.212 MB / 469.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.624e-05/0.3512, allocations: 45.11 kB / 469.1 MB, free: 20.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.3517, allocations: 0.8882 MB / 470 MB, free: 19.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.3519, allocations: 386 kB / 470.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.3522, allocations: 219.7 kB / 470.6 MB, free: 18.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.3523, allocations: 357.1 kB / 471 MB, free: 18.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009039/0.3532, allocations: 0.618 MB / 471.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.3543, allocations: 0.9264 MB / 472.5 MB, free: 17.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.3563, allocations: 1.633 MB / 474.1 MB, free: 16.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.3563, allocations: 2.75 kB / 474.1 MB, free: 16.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00345/0.3598, allocations: 2.22 MB / 476.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3598, allocations: 10.78 kB / 476.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.3598, allocations: 7.969 kB / 476.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/0.3608, allocations: 479.8 kB / 476.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.3617, allocations: 275.7 kB / 477.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004853/0.3665, allocations: 7.018 MB / 484.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.3676, allocations: 86.67 kB / 484.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.176e-05/0.3677, allocations: 42.53 kB / 484.3 MB, free: 8.789 MB / 366.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.0008836/0.3686, allocations: 0.6003 MB / 484.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.3688, allocations: 144.4 kB / 485 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.3716, allocations: 2.02 MB / 487 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3716, allocations: 13.22 kB / 487 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3716, allocations: 5.172 kB / 487 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3716, allocations: 7.922 kB / 487 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00609/0.3777, allocations: 4.212 MB / 491.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.3777, allocations: 7.938 kB / 491.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007008/0.3784, allocations: 172.2 kB / 491.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.3796, allocations: 0.535 MB / 492 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/0.3796, allocations: 31.98 kB / 492 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008593/0.3882, allocations: 8.612 MB / 0.4889 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.3882, allocations: 4 kB / 0.4889 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005021/0.3933, allocations: 2.95 MB / 0.4918 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.3943, allocations: 344.1 kB / 0.4921 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.3945, allocations: 28 kB / 0.4921 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/0.3953, allocations: 76.48 kB / 0.4922 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.3956, allocations: 96.75 kB / 0.4923 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.3956, allocations: 35.98 kB / 0.4923 GB, free: 4.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.3969, allocations: 0.8304 MB / 0.4931 GB, free: 3.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3969, allocations: 0 / 0.4931 GB, free: 3.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001736/0.3986, allocations: 411.9 kB / 0.4935 GB, free: 3.082 MB / 382.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.005458/0.4041, allocations: 3.579 MB / 0.497 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003713/0.4078, allocations: 2.107 MB / 0.4991 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.4078, allocations: 0 / 0.4991 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.4103, allocations: 1.428 MB / 0.5005 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.4123, allocations: 383.2 kB / 0.5008 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/0.4381, allocations: 15.13 MB / 0.5156 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/0.4401, allocations: 1.63 MB / 0.5172 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001095/0.4412, allocations: 299.8 kB / 0.5175 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.4422, allocations: 0.6906 MB / 0.5182 GB, free: 9.008 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4422, allocations: 0 / 0.5182 GB, free: 9.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09304/0.5352, allocations: 37.59 MB / 0.5549 GB, free: 3.812 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.87, allocations: 13.98 kB / 0.5549 GB, free: 3.801 MB / 446.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.344022708944976]