Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001751/0.001751, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.002205/0.002205, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.438/1.438, allocations: 230.5 MB / 258.2 MB, free: 7.75 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_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 55.91 kB / 378.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2851, allocations: 53.41 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01089/0.296, allocations: 7.934 MB / 439.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006406/0.3024, allocations: 2.781 MB / 442.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.3042, allocations: 55.69 kB / 442.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.3065, allocations: 0.59 MB / 443.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003461/0.31, allocations: 0.7808 MB / 444.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3111, allocations: 335.5 kB / 444.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004143/0.3153, allocations: 2.385 MB / 446.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.3174, allocations: 1.013 MB / 447.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.3198, allocations: 1.106 MB / 448.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002989/0.3228, allocations: 1.386 MB / 450.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009057/0.3237, allocations: 280 kB / 450.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.325, allocations: 379.8 kB / 450.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.3264, allocations: 0.8141 MB / 451.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003077/0.3295, allocations: 1.023 MB / 452.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006213/0.3357, allocations: 3.733 MB / 456.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3357, allocations: 0 / 456.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3357, allocations: 0 / 456.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001649/0.3359, allocations: 4 kB / 456.5 MB, free: 13.75 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008174/0.344, allocations: 2.579 MB / 459.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.3441, allocations: 12.03 kB / 459.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.05e-05/0.3442, allocations: 47.77 kB / 459.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008391/0.345, allocations: 266 kB / 459.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.3466, allocations: 303.3 kB / 459.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/0.3499, allocations: 1.345 MB / 461 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.3501, allocations: 143.5 kB / 461.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005868/0.3506, allocations: 176 kB / 461.3 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006017/0.3567, allocations: 2.506 MB / 463.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-05/0.3567, allocations: 11.88 kB / 463.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.357, allocations: 72 kB / 463.9 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.3572, allocations: 83.5 kB / 464 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004346/0.3615, allocations: 2.02 MB / 466 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.375, allocations: 6.672 MB / 472.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.3769, allocations: 0.9799 MB / 473.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.3787, allocations: 0.8657 MB / 474.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.3789, allocations: 44.97 kB / 474.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.3789, allocations: 43.56 kB / 474.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.417e-06/0.3789, allocations: 0 / 474.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01027/0.3892, allocations: 4.695 MB / 479.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3893, allocations: 60.41 kB / 479.4 MB, free: 6.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/0.392, allocations: 1.393 MB / 480.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002272/0.3922, allocations: 41.7 kB / 480.8 MB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009653/0.3932, allocations: 0.9189 MB / 481.7 MB, free: 4.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005386/0.3937, allocations: 372.9 kB / 482.1 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005224/0.3943, allocations: 214.8 kB / 482.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.3945, allocations: 353.9 kB / 482.7 MB, free: 3.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.3957, allocations: 0.635 MB / 483.3 MB, free: 2.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.3971, allocations: 0.9259 MB / 484.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.3997, allocations: 1.657 MB / 485.9 MB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.3997, allocations: 0 / 485.9 MB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004818/0.4045, allocations: 2.372 MB / 488.3 MB, free: 13.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.4046, allocations: 8.25 kB / 488.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.4046, allocations: 12 kB / 488.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.4067, allocations: 0.7126 MB / 489 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4077, allocations: 235.6 kB / 489.2 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.4198, allocations: 8.444 MB / 497.7 MB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.4213, allocations: 83.86 kB / 497.7 MB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.4216, allocations: 48 kB / 497.8 MB, free: 3.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001479/0.423, allocations: 0.6341 MB / 498.4 MB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004948/0.4235, allocations: 147.1 kB / 498.6 MB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.4274, allocations: 1.905 MB / 0.4887 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.4274, allocations: 8 kB / 0.4888 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.4274, allocations: 4.125 kB / 0.4888 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.4274, allocations: 7.984 kB / 0.4888 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008165/0.4356, allocations: 3.743 MB / 0.4924 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.4356, allocations: 4 kB / 0.4924 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.4365, allocations: 180 kB / 0.4926 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.4378, allocations: 458.9 kB / 0.493 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.438, allocations: 39.84 kB / 0.4931 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007243/0.4452, allocations: 6.351 MB / 0.4993 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.4452, allocations: 7.922 kB / 0.4993 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005109/0.4503, allocations: 2.772 MB / 0.502 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.4514, allocations: 290.9 kB / 0.5023 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/0.4518, allocations: 24 kB / 0.5023 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.453, allocations: 67.92 kB / 0.5024 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.4532, allocations: 92.77 kB / 0.5024 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/0.4533, allocations: 31.92 kB / 0.5025 GB, free: 2.207 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001952/0.4553, allocations: 0.9625 MB / 0.5034 GB, free: 1.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4553, allocations: 0 / 0.5034 GB, free: 1.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001892/0.4572, allocations: 428 kB / 0.5038 GB, free: 0.8242 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,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.005591/0.4628, allocations: 3.408 MB / 0.5071 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004047/0.4668, allocations: 1.93 MB / 0.509 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.4668, allocations: 0 / 0.509 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.4691, allocations: 1.233 MB / 0.5102 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.4716, allocations: 386 kB / 0.5106 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02986/0.5015, allocations: 16.39 MB / 0.5266 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/0.5031, allocations: 1.122 MB / 0.5277 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001032/0.5042, allocations: 320 kB / 0.528 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.5053, allocations: 0.7063 MB / 0.5287 GB, free: 6.703 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5053, allocations: 0 / 0.5287 GB, free: 6.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2945/0.7998, allocations: 42.93 MB / 0.5706 GB, free: 78.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.23/20.03, allocations: 12 kB / 0.5706 GB, free: 78.05 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 26.13410266698338]