Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002234/0.002234, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.88 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2643, allocations: 53.41 MB / 431.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01079/0.2751, allocations: 7.861 MB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.2806, allocations: 2.723 MB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009888/0.2816, allocations: 59.56 kB / 442.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.2832, allocations: 0.6016 MB / 443.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.2853, allocations: 0.7496 MB / 443.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.286, allocations: 327.6 kB / 444.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.2884, allocations: 2.236 MB / 446.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.2899, allocations: 1.024 MB / 447.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.2914, allocations: 1.059 MB / 448.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.2932, allocations: 1.323 MB / 449.9 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003978/0.2936, allocations: 268 kB / 450.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000676/0.2943, allocations: 355.8 kB / 450.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007993/0.2951, allocations: 0.7713 MB / 451.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.2963, allocations: 0.9841 MB / 452.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.3002, allocations: 3.562 MB / 455.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3002, allocations: 0 / 455.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3002, allocations: 4 kB / 455.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.669e-05/0.3003, allocations: 0 / 455.8 MB, free: 14.62 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.004968/0.3053, allocations: 2.478 MB / 458.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3053, allocations: 12.03 kB / 458.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.346e-05/0.3054, allocations: 43.75 kB / 458.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003448/0.3057, allocations: 274 kB / 458.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006751/0.3064, allocations: 263.4 kB / 458.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.3085, allocations: 1.242 MB / 460.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.3087, allocations: 135.5 kB / 460.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.309, allocations: 187.9 kB / 460.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004098/0.313, allocations: 2.471 MB / 462.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/0.3131, allocations: 11.95 kB / 462.9 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.3133, allocations: 72 kB / 463 MB, free: 7.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.3134, allocations: 95.48 kB / 463.1 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.3168, allocations: 1.962 MB / 465 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.328, allocations: 6.38 MB / 471.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.3301, allocations: 0.9895 MB / 472.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.3318, allocations: 0.7999 MB / 473.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.3321, allocations: 52.84 kB / 473.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.3321, allocations: 39.56 kB / 473.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.827e-06/0.3321, allocations: 0 / 473.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.02044/0.3526, allocations: 5.675 MB / 479 MB, free: 7.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.3526, allocations: 68.34 kB / 479 MB, free: 6.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/0.3556, allocations: 1.211 MB / 480.2 MB, free: 5.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.3557, allocations: 49.64 kB / 480.3 MB, free: 5.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.3568, allocations: 0.8831 MB / 481.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005776/0.3574, allocations: 392.7 kB / 481.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006177/0.358, allocations: 222.9 kB / 481.8 MB, free: 4.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002592/0.3583, allocations: 349.9 kB / 482.1 MB, free: 3.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.3602, allocations: 0.6155 MB / 482.7 MB, free: 3.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.3624, allocations: 0.9227 MB / 483.7 MB, free: 2.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004276/0.3667, allocations: 1.639 MB / 485.3 MB, free: 428 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.3667, allocations: 4 kB / 485.3 MB, free: 424 kB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.006855/0.3736, allocations: 2.153 MB / 487.4 MB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.3736, allocations: 12 kB / 487.5 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.3736, allocations: 8 kB / 487.5 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/0.3757, allocations: 476.1 kB / 487.9 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.3776, allocations: 267.6 kB / 488.2 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.3897, allocations: 6.675 MB / 494.9 MB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.3918, allocations: 79.92 kB / 494.9 MB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/0.392, allocations: 47.98 kB / 495 MB, free: 6.34 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.00184/0.3939, allocations: 0.6028 MB / 495.6 MB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005703/0.3944, allocations: 143 kB / 495.7 MB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.3986, allocations: 1.948 MB / 497.7 MB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.3986, allocations: 8 kB / 497.7 MB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.3986, allocations: 4 kB / 497.7 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.3986, allocations: 7.984 kB / 497.7 MB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006944/0.4056, allocations: 3.889 MB / 0.4898 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.4056, allocations: 4 kB / 0.4898 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.4063, allocations: 179.8 kB / 0.49 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.4077, allocations: 0.5158 MB / 0.4905 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/0.4078, allocations: 35.92 kB / 0.4906 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008425/0.4162, allocations: 8.163 MB / 0.4985 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.4162, allocations: 7.938 kB / 0.4985 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.4213, allocations: 2.871 MB / 0.5013 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009756/0.4223, allocations: 271 kB / 0.5016 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.4225, allocations: 35.92 kB / 0.5016 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/0.4233, allocations: 71.92 kB / 0.5017 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.4236, allocations: 104.6 kB / 0.5018 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.4237, allocations: 31.98 kB / 0.5018 GB, free: 2.773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.425, allocations: 0.8345 MB / 0.5026 GB, free: 1.934 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.425, allocations: 0 / 0.5026 GB, free: 1.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001546/0.4265, allocations: 408 kB / 0.503 GB, free: 1.535 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.005177/0.4317, allocations: 3.498 MB / 0.5064 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003396/0.4351, allocations: 1.952 MB / 0.5084 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4351, allocations: 0 / 0.5084 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.4373, allocations: 1.353 MB / 0.5097 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.4391, allocations: 398.4 kB / 0.5101 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/0.4612, allocations: 15 MB / 0.5247 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.4624, allocations: 1.054 MB / 0.5257 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008582/0.4632, allocations: 307.8 kB / 0.526 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009125/0.4642, allocations: 0.6828 MB / 0.5267 GB, free: 8.527 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4642, allocations: 0 / 0.5267 GB, free: 8.527 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2932/0.7574, allocations: 40.23 MB / 0.566 GB, free: 82.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.09, allocations: 9.219 kB / 0.566 GB, free: 82.84 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 20.84994350397028]