Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.0008079/0.0008079, allocations: 88.05 kB / 20.67 MB, free: 3.871 MB / 18.57 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.0008155/0.0008155, allocations: 145.1 kB / 23.93 MB, free: 0.6172 MB / 18.57 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 0.9042/0.9042, allocations: 173.4 MB / 200.5 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.365e-05, allocations: 6.281 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.00806/0.008083, allocations: 8.33 MB / 326.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00546/0.01354, allocations: 2.816 MB / 329.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.01482, allocations: 59.62 kB / 329.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.01616, allocations: 0.6248 MB / 330.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.01804, allocations: 0.8499 MB / 331.1 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.01871, allocations: 351.4 kB / 331.5 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002564/0.02128, allocations: 2.75 MB / 334.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.02263, allocations: 1.124 MB / 335.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.02502, allocations: 1.766 MB / 337.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.02679, allocations: 1.317 MB / 338.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007181/0.02751, allocations: 308 kB / 338.7 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006696/0.02818, allocations: 399.8 kB / 339.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006249/0.0288, allocations: 0.9231 MB / 340 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009649/0.02977, allocations: 0.9704 MB / 341 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.03316, allocations: 4.14 MB / 345.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.03316, allocations: 0 / 345.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03317, allocations: 0 / 345.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.052e-05/0.03324, allocations: 0 / 345.1 MB, free: 11.47 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004173/0.03741, allocations: 2.818 MB / 348 MB, free: 8.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.03745, allocations: 16.92 kB / 348 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002741/0.03773, allocations: 295.5 kB / 348.3 MB, free: 8.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.03825, allocations: 303.2 kB / 348.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.04015, allocations: 1.463 MB / 350 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.04025, allocations: 152.4 kB / 350.2 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.04046, allocations: 200.3 kB / 350.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/0.04374, allocations: 2.84 MB / 353.2 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.04378, allocations: 11.89 kB / 353.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.04391, allocations: 80 kB / 353.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.613e-05/0.04398, allocations: 99.92 kB / 353.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/0.04704, allocations: 2.322 MB / 355.7 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008813/0.05585, allocations: 7.553 MB / 363.3 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.05726, allocations: 1.251 MB / 364.5 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.05848, allocations: 1.012 MB / 365.5 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.05866, allocations: 40.97 kB / 365.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.05869, allocations: 43.56 kB / 365.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/0.05869, allocations: 0 / 365.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.00953/0.06822, allocations: 5.927 MB / 371.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.06827, allocations: 64.41 kB / 371.6 MB, free: 484 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.07071, allocations: 1.536 MB / 373.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.07082, allocations: 45.7 kB / 373.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007004/0.07152, allocations: 1.009 MB / 374.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.07188, allocations: 428.3 kB / 374.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/0.07228, allocations: 255.5 kB / 374.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.07243, allocations: 361.9 kB / 375.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.07362, allocations: 0.7378 MB / 376 MB, free: 12.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.07522, allocations: 1.059 MB / 377 MB, free: 10.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.07777, allocations: 1.879 MB / 378.9 MB, free: 8.883 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.07778, allocations: 0 / 378.9 MB, free: 8.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003814/0.08159, allocations: 2.35 MB / 381.2 MB, free: 6.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.08162, allocations: 11.98 kB / 381.3 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.08163, allocations: 8 kB / 381.3 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/0.08227, allocations: 414 kB / 381.7 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/0.08298, allocations: 323.5 kB / 382 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/0.08674, allocations: 4.82 MB / 386.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/0.08759, allocations: 91.86 kB / 386.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.08766, allocations: 48 kB / 386.9 MB, free: 0.5781 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001066/0.08872, allocations: 0.7197 MB / 387.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.08895, allocations: 166.9 kB / 387.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.09125, allocations: 2.133 MB / 390 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.09126, allocations: 16 kB / 390 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.09127, allocations: 4 kB / 390 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.09127, allocations: 3.984 kB / 390 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/0.09646, allocations: 4.288 MB / 394.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.09646, allocations: 0 / 394.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.09697, allocations: 227.9 kB / 394.5 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006813/0.09765, allocations: 470.9 kB / 395 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.09771, allocations: 27.98 kB / 395 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004422/0.1021, allocations: 6.338 MB / 401.3 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1021, allocations: 0 / 401.3 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.1055, allocations: 3.185 MB / 404.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009467/0.1065, allocations: 338.8 kB / 404.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.1066, allocations: 24 kB / 404.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.1071, allocations: 79.91 kB / 404.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.1073, allocations: 104.8 kB / 405 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.1073, allocations: 39.92 kB / 405.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.1085, allocations: 1.052 MB / 406.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1085, allocations: 0 / 406.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00112/0.1096, allocations: 459.9 kB / 406.6 MB, free: 12.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.003425/0.113, allocations: 3.807 MB / 410.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002569/0.1156, allocations: 2.041 MB / 412.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1156, allocations: 3.938 kB / 412.4 MB, free: 6.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.1168, allocations: 1.366 MB / 413.8 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.1181, allocations: 432.9 kB / 414.2 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.1383, allocations: 17.38 MB / 431.6 MB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009353/0.1393, allocations: 1.253 MB / 432.8 MB, free: 1.367 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009289/0.1402, allocations: 401.5 kB / 433.2 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/0.1409, allocations: 0.7971 MB / 434 MB, free: 176 kB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1409, allocations: 0 / 434 MB, free: 176 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/0.3452, allocations: 46.39 MB / 480.4 MB, free: 98.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.5, allocations: 3.984 kB / 480.4 MB, free: 98.73 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 11.323881690390408]