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.00157/0.00157, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001819/0.001819, allocations: 191.5 kB / 24.5 MB, free: 4.09 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.406/1.406, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 51.91 kB / 371.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2843, allocations: 52.18 MB / 423.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01193/0.2962, allocations: 8.934 MB / 432.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006119/0.3023, allocations: 2.843 MB / 435.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.3037, allocations: 55.62 kB / 435.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.3054, allocations: 0.6367 MB / 435.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.3076, allocations: 0.7535 MB / 436.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.3083, allocations: 331.5 kB / 437 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002936/0.3113, allocations: 2.222 MB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.3127, allocations: 1.016 MB / 440.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.3143, allocations: 1.04 MB / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.3163, allocations: 1.323 MB / 442.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.3167, allocations: 268 kB / 442.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.3173, allocations: 371.8 kB / 443.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000832/0.3182, allocations: 0.7674 MB / 444 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.3195, allocations: 1.202 MB / 445.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003976/0.3235, allocations: 3.538 MB / 448.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3235, allocations: 0 / 448.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3235, allocations: 3.938 kB / 448.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.35e-05/0.3236, allocations: 0 / 448.7 MB, free: 5.305 MB / 350.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.005605/0.3292, allocations: 2.458 MB / 451.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3292, allocations: 8.031 kB / 451.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.868e-05/0.3293, allocations: 51.69 kB / 451.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003876/0.3297, allocations: 274 kB / 451.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007946/0.3305, allocations: 267.4 kB / 451.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.3329, allocations: 1.238 MB / 453 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.333, allocations: 139.7 kB / 453.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002831/0.3333, allocations: 184 kB / 453.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004135/0.3375, allocations: 2.371 MB / 455.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-05/0.3375, allocations: 11.95 kB / 455.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.3377, allocations: 75.98 kB / 455.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.3378, allocations: 95.5 kB / 455.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.3413, allocations: 1.966 MB / 457.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.3525, allocations: 6.941 MB / 464.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.3543, allocations: 0.9932 MB / 465.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.3558, allocations: 0.8069 MB / 466.6 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.356, allocations: 40.95 kB / 466.6 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.356, allocations: 48.03 kB / 466.6 MB, free: 3.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.345e-06/0.356, allocations: 0 / 466.6 MB, free: 3.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01383/0.3699, allocations: 5.66 MB / 472.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3699, allocations: 64.41 kB / 472.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.3718, allocations: 1.219 MB / 473.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.3719, allocations: 41.7 kB / 473.6 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/0.3726, allocations: 0.8907 MB / 474.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.373, allocations: 380.8 kB / 474.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.3734, allocations: 226.9 kB / 475.1 MB, free: 10.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3736, allocations: 353.9 kB / 475.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3746, allocations: 0.6116 MB / 476.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.3759, allocations: 0.9188 MB / 477 MB, free: 8.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.3783, allocations: 1.654 MB / 478.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.3784, allocations: 4 kB / 478.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004075/0.3824, allocations: 2.145 MB / 480.8 MB, free: 4.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.3825, allocations: 11.28 kB / 480.8 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3825, allocations: 15.94 kB / 480.8 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.3836, allocations: 472.2 kB / 481.3 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.3847, allocations: 275.6 kB / 481.6 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007674/0.3923, allocations: 6.704 MB / 488.3 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.3936, allocations: 87.92 kB / 488.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3937, allocations: 52 kB / 488.4 MB, free: 12.56 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.001137/0.3949, allocations: 0.6021 MB / 489 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.3952, allocations: 151 kB / 489.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/0.3989, allocations: 1.933 MB / 491.1 MB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3989, allocations: 8 kB / 491.1 MB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3989, allocations: 11.94 kB / 491.1 MB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.3989, allocations: 7.969 kB / 491.1 MB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007258/0.4062, allocations: 4.096 MB / 495.2 MB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.4062, allocations: 4 kB / 495.2 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.4069, allocations: 175.8 kB / 495.4 MB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.4083, allocations: 0.5275 MB / 495.9 MB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.4084, allocations: 31.98 kB / 495.9 MB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008607/0.417, allocations: 8.22 MB / 0.4923 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.417, allocations: 7.938 kB / 0.4923 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004866/0.4218, allocations: 2.855 MB / 0.4951 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007891/0.4226, allocations: 279 kB / 0.4954 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.4228, allocations: 31.94 kB / 0.4954 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.4236, allocations: 63.92 kB / 0.4955 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.4238, allocations: 104.7 kB / 0.4956 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/0.4239, allocations: 31.98 kB / 0.4956 GB, free: 8.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.4251, allocations: 0.8343 MB / 0.4964 GB, free: 7.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4251, allocations: 0 / 0.4964 GB, free: 7.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001458/0.4266, allocations: 407.9 kB / 0.4968 GB, free: 7.5 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.005349/0.4319, allocations: 3.494 MB / 0.5002 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.4356, allocations: 1.947 MB / 0.5021 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.4356, allocations: 0 / 0.5021 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002295/0.4379, allocations: 1.354 MB / 0.5035 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.4399, allocations: 395.3 kB / 0.5038 GB, free: 140 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/0.4647, allocations: 15.01 MB / 0.5185 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.4662, allocations: 1.642 MB / 0.5201 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009155/0.4672, allocations: 291.8 kB / 0.5204 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009198/0.4681, allocations: 0.6867 MB / 0.521 GB, free: 13.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4681, allocations: 0 / 0.521 GB, free: 13.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.308/0.7761, allocations: 38.58 MB / 0.5587 GB, free: 94.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.64, allocations: 11.73 kB / 0.5587 GB, free: 94.73 MB / 446.1 MB " [Timeout remaining time 645] (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/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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 20.196038289985154]