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.001483/0.001483, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001552/0.001552, allocations: 190.7 kB / 24.49 MB, free: 3.941 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.411/1.411, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.001514/0.001514, allocations: 43.92 kB / 371.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2665, allocations: 52.19 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01051/0.277, allocations: 7.839 MB / 431.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005454/0.2824, allocations: 2.66 MB / 433.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.2837, allocations: 59.62 kB / 433.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.2853, allocations: 0.5939 MB / 434.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.2875, allocations: 0.7379 MB / 435.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.2882, allocations: 339.4 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.2911, allocations: 2.218 MB / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.2928, allocations: 1.02 MB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.2944, allocations: 1.051 MB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.2962, allocations: 1.312 MB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003852/0.2966, allocations: 268 kB / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006787/0.2973, allocations: 367.8 kB / 441.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007866/0.298, allocations: 0.7597 MB / 442.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.2992, allocations: 0.9802 MB / 443.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.303, allocations: 3.558 MB / 447.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.303, allocations: 0 / 447.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.303, allocations: 3.938 kB / 447.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.205e-05/0.3031, allocations: 0 / 447.1 MB, free: 6.512 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.004779/0.3079, allocations: 2.458 MB / 449.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.3079, allocations: 16.02 kB / 449.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.551e-05/0.308, allocations: 51.69 kB / 449.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003764/0.3084, allocations: 266 kB / 449.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.3091, allocations: 259.4 kB / 450.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.3115, allocations: 1.246 MB / 451.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.3116, allocations: 139.7 kB / 451.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/0.3119, allocations: 179.9 kB / 451.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/0.3162, allocations: 2.471 MB / 454.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.316e-05/0.3163, allocations: 7.953 kB / 454.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.3164, allocations: 79.98 kB / 454.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.3166, allocations: 91.5 kB / 454.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/0.3201, allocations: 1.962 MB / 456.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.3309, allocations: 6.38 MB / 462.7 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.3327, allocations: 0.9971 MB / 463.7 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.3342, allocations: 0.803 MB / 464.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.3345, allocations: 40.97 kB / 464.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3345, allocations: 43.56 kB / 464.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 3.066e-06/0.3345, allocations: 0 / 464.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.0134/0.3479, allocations: 5.668 MB / 470.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.3479, allocations: 64.34 kB / 470.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.3498, allocations: 1.207 MB / 471.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/0.3498, allocations: 45.7 kB / 471.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007257/0.3506, allocations: 0.8986 MB / 472.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.3509, allocations: 376.8 kB / 472.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/0.3513, allocations: 230.9 kB / 473.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3515, allocations: 353.9 kB / 473.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.3525, allocations: 0.6155 MB / 474 MB, free: 11.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.3538, allocations: 0.9188 MB / 474.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/0.3562, allocations: 1.646 MB / 476.6 MB, free: 8.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3562, allocations: 4 kB / 476.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00382/0.36, allocations: 2.145 MB / 478.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.3601, allocations: 11.98 kB / 478.7 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.3601, allocations: 8 kB / 478.7 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3613, allocations: 480.1 kB / 479.2 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009742/0.3622, allocations: 271.6 kB / 479.5 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007044/0.3693, allocations: 6.661 MB / 486.1 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.3703, allocations: 83.86 kB / 486.2 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.3704, allocations: 52 kB / 486.3 MB, free: 14.26 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.001056/0.3715, allocations: 0.6028 MB / 486.9 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.3717, allocations: 147 kB / 487 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00363/0.3753, allocations: 1.937 MB / 489 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3754, allocations: 16 kB / 489 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3754, allocations: 7.938 kB / 489 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.3754, allocations: 3.984 kB / 489 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00697/0.3823, allocations: 3.882 MB / 492.9 MB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.3824, allocations: 7.938 kB / 492.9 MB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000745/0.3831, allocations: 175.8 kB / 493 MB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.3845, allocations: 0.5197 MB / 493.6 MB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/0.3846, allocations: 39.92 kB / 493.6 MB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008651/0.3932, allocations: 8.177 MB / 0.49 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3933, allocations: 7.938 kB / 0.49 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004849/0.3981, allocations: 2.859 MB / 0.4928 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007771/0.3989, allocations: 275 kB / 0.4931 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.3991, allocations: 27.94 kB / 0.4931 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/0.3998, allocations: 71.92 kB / 0.4932 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.4, allocations: 96.7 kB / 0.4933 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/0.4001, allocations: 35.98 kB / 0.4933 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.4014, allocations: 0.8382 MB / 0.4941 GB, free: 9.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4014, allocations: 0 / 0.4941 GB, free: 9.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001472/0.4029, allocations: 411.9 kB / 0.4945 GB, free: 9.449 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.005058/0.4079, allocations: 3.494 MB / 0.4979 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.4113, allocations: 1.948 MB / 0.4998 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4113, allocations: 4.312 kB / 0.4998 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.4135, allocations: 1.349 MB / 0.5012 GB, free: 2.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.4152, allocations: 383.6 kB / 0.5015 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/0.4386, allocations: 15.01 MB / 0.5162 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.4399, allocations: 1.054 MB / 0.5172 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000851/0.4407, allocations: 295.7 kB / 0.5175 GB, free: 1.141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009506/0.4417, allocations: 0.6867 MB / 0.5182 GB, free: 464 kB / 430.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4417, allocations: 0 / 0.5182 GB, free: 464 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2933/0.7349, allocations: 40.08 MB / 0.5573 GB, free: 96.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.01, allocations: 9.875 kB / 0.5573 GB, free: 96.57 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.60051105101593]