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.002124/0.002124, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.002402/0.002402, allocations: 206.8 kB / 23.73 MB, free: 4.379 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001474/0.001474, allocations: 43.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2467, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01039/0.2571, allocations: 7.879 MB / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005621/0.2627, allocations: 2.727 MB / 441.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.2639, allocations: 63.62 kB / 441.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.2655, allocations: 0.59 MB / 442.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.2678, allocations: 0.7535 MB / 443.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.2686, allocations: 323.6 kB / 443.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.2713, allocations: 2.233 MB / 445.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.2727, allocations: 1.024 MB / 446.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.2742, allocations: 1.059 MB / 447.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.2764, allocations: 1.32 MB / 449.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004219/0.2768, allocations: 272 kB / 449.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/0.2775, allocations: 359.8 kB / 449.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000836/0.2783, allocations: 0.7713 MB / 450.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.2795, allocations: 0.9802 MB / 451.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.2833, allocations: 3.569 MB / 455 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2833, allocations: 3.984 kB / 455 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2833, allocations: 0 / 455 MB, free: 14.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.31e-05/0.2834, allocations: 4 kB / 455 MB, free: 14.59 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.005075/0.2884, allocations: 2.47 MB / 457.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2885, allocations: 12.03 kB / 457.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003506/0.2888, allocations: 270 kB / 457.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006914/0.2895, allocations: 263.4 kB / 458 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.292, allocations: 1.242 MB / 459.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.2922, allocations: 139.7 kB / 459.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.2924, allocations: 179.9 kB / 459.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004262/0.2967, allocations: 2.475 MB / 462 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.594e-05/0.2968, allocations: 7.953 kB / 462 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.2969, allocations: 75.94 kB / 462.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.297, allocations: 91.5 kB / 462.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/0.3005, allocations: 1.962 MB / 464.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.3119, allocations: 6.376 MB / 470.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.3137, allocations: 1.004 MB / 471.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.3153, allocations: 0.7914 MB / 472.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.3155, allocations: 44.97 kB / 472.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.3156, allocations: 47.56 kB / 472.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.796e-06/0.3156, allocations: 0 / 472.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01404/0.3296, allocations: 5.665 MB / 478.1 MB, free: 7.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3297, allocations: 68.39 kB / 478.2 MB, free: 7.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.3315, allocations: 1.23 MB / 479.4 MB, free: 5.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.3316, allocations: 41.7 kB / 479.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007221/0.3323, allocations: 0.887 MB / 480.3 MB, free: 4.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.3327, allocations: 392.6 kB / 480.7 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.333, allocations: 218.9 kB / 480.9 MB, free: 4.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3332, allocations: 353.9 kB / 481.3 MB, free: 3.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.3343, allocations: 0.6233 MB / 481.9 MB, free: 3.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.3355, allocations: 0.9149 MB / 482.8 MB, free: 2.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.338, allocations: 1.643 MB / 484.4 MB, free: 440 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.338, allocations: 4 kB / 484.4 MB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003828/0.3418, allocations: 2.149 MB / 486.6 MB, free: 14.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3418, allocations: 12 kB / 486.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3418, allocations: 8.25 kB / 486.6 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.343, allocations: 479.9 kB / 487.1 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009914/0.344, allocations: 275.6 kB / 487.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007091/0.3511, allocations: 6.664 MB / 494 MB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.3521, allocations: 91.92 kB / 494.1 MB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.683e-05/0.3522, allocations: 51.92 kB / 494.2 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.001006/0.3532, allocations: 0.5949 MB / 494.8 MB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.3534, allocations: 143 kB / 494.9 MB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/0.3569, allocations: 1.941 MB / 496.8 MB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.357, allocations: 12 kB / 496.8 MB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.357, allocations: 4 kB / 496.8 MB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.357, allocations: 3.984 kB / 496.9 MB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/0.3639, allocations: 3.89 MB / 0.489 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.3639, allocations: 8.031 kB / 0.489 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/0.3647, allocations: 191.7 kB / 0.4892 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.366, allocations: 0.5114 MB / 0.4897 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/0.3661, allocations: 31.98 kB / 0.4897 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008327/0.3744, allocations: 8.17 MB / 0.4977 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.3744, allocations: 8.25 kB / 0.4977 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.3793, allocations: 2.863 MB / 0.5005 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/0.3801, allocations: 275 kB / 0.5008 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.3803, allocations: 35.92 kB / 0.5008 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/0.381, allocations: 71.92 kB / 0.5009 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.3812, allocations: 96.7 kB / 0.501 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.3813, allocations: 35.98 kB / 0.501 GB, free: 2.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001224/0.3825, allocations: 0.8306 MB / 0.5018 GB, free: 1.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3825, allocations: 0 / 0.5018 GB, free: 1.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001386/0.3839, allocations: 419.9 kB / 0.5022 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.005079/0.389, allocations: 3.483 MB / 0.5056 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003459/0.3925, allocations: 1.956 MB / 0.5075 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3925, allocations: 0 / 0.5075 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.3947, allocations: 1.357 MB / 0.5089 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.3965, allocations: 390.2 kB / 0.5092 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/0.4198, allocations: 15.01 MB / 0.5239 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.4211, allocations: 1.054 MB / 0.5249 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009644/0.422, allocations: 299.8 kB / 0.5252 GB, free: 9.219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/0.423, allocations: 0.6867 MB / 0.5259 GB, free: 8.531 MB / 446.1 MB Notification: Performance of SimCode: time 1.713e-06/0.423, allocations: 0 / 0.5259 GB, free: 8.531 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.283/0.706, allocations: 40.74 MB / 0.5657 GB, free: 82.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.04, allocations: 8.047 kB / 0.5657 GB, free: 82.25 MB / 446.1 MB " [Timeout remaining time 647] (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: 17.439045117003843]