Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001753/0.001753, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002252/0.002252, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.996 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_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 47.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2642, allocations: 53.35 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01142/0.2756, allocations: 9.045 MB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005988/0.2816, allocations: 2.968 MB / 443.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.283, allocations: 59.62 kB / 443.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.2849, allocations: 0.6445 MB / 443.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.2876, allocations: 0.7846 MB / 444.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.2886, allocations: 339.4 kB / 445 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003379/0.292, allocations: 2.377 MB / 447.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.2936, allocations: 1.02 MB / 448.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.2955, allocations: 1.098 MB / 449.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.2979, allocations: 1.386 MB / 450.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005674/0.2985, allocations: 276 kB / 451.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009809/0.2995, allocations: 391.8 kB / 451.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009462/0.3004, allocations: 0.8141 MB / 452.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.3022, allocations: 1.26 MB / 453.6 MB, free: 324 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.307, allocations: 3.714 MB / 457.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.3071, allocations: 4 kB / 457.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3071, allocations: 0 / 457.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.3072, allocations: 0 / 457.3 MB, free: 12.58 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.006743/0.3139, allocations: 2.579 MB / 459.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.314, allocations: 8.031 kB / 459.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004843/0.3144, allocations: 266 kB / 460.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.3156, allocations: 303.3 kB / 460.4 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.3188, allocations: 1.357 MB / 461.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3189, allocations: 135.7 kB / 461.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003993/0.3193, allocations: 184 kB / 462.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00458/0.3239, allocations: 2.406 MB / 464.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.877e-05/0.324, allocations: 8 kB / 464.5 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.3241, allocations: 72 kB / 464.6 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.3243, allocations: 87.44 kB / 464.7 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003981/0.3282, allocations: 2.016 MB / 466.7 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/0.3417, allocations: 7.253 MB / 473.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.3435, allocations: 0.9933 MB / 474.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.3452, allocations: 0.8573 MB / 475.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.3454, allocations: 40.97 kB / 475.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.3455, allocations: 47.5 kB / 475.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.535e-06/0.3455, allocations: 0 / 475.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009563/0.355, allocations: 4.697 MB / 480.6 MB, free: 4.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.3551, allocations: 64.41 kB / 480.6 MB, free: 4.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.3572, allocations: 1.393 MB / 482 MB, free: 3.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.3574, allocations: 45.7 kB / 482.1 MB, free: 3.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007587/0.3581, allocations: 0.9189 MB / 483 MB, free: 2.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.3585, allocations: 368.9 kB / 483.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/0.3588, allocations: 218.8 kB / 483.6 MB, free: 1.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.359, allocations: 353.9 kB / 483.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.36, allocations: 0.635 MB / 484.6 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.3613, allocations: 0.9181 MB / 485.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.3637, allocations: 1.649 MB / 487.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.3637, allocations: 7.938 kB / 487.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004444/0.3682, allocations: 2.379 MB / 489.5 MB, free: 11.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.3682, allocations: 8 kB / 489.5 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.3682, allocations: 12 kB / 489.5 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/0.3701, allocations: 0.7128 MB / 490.2 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/0.371, allocations: 239.6 kB / 490.5 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.3828, allocations: 8.534 MB / 499 MB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.384, allocations: 87.86 kB / 499.1 MB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.3841, allocations: 44 kB / 499.1 MB, free: 1.793 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.001213/0.3853, allocations: 0.634 MB / 499.8 MB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/0.3857, allocations: 151.1 kB / 499.9 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.3892, allocations: 1.897 MB / 0.4901 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3892, allocations: 11.94 kB / 0.4901 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3893, allocations: 4 kB / 0.4901 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.3893, allocations: 3.984 kB / 0.4901 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007465/0.3967, allocations: 3.961 MB / 0.4939 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.3967, allocations: 4 kB / 0.4939 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/0.3976, allocations: 179.7 kB / 0.4941 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.3988, allocations: 467.2 kB / 0.4946 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.3989, allocations: 31.91 kB / 0.4946 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007034/0.4059, allocations: 6.382 MB / 0.5008 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4059, allocations: 3.938 kB / 0.5008 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.4106, allocations: 2.772 MB / 0.5035 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009142/0.4115, allocations: 294.9 kB / 0.5038 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.4118, allocations: 24 kB / 0.5038 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000832/0.4126, allocations: 71.95 kB / 0.5039 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.4128, allocations: 80.83 kB / 0.504 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.856e-05/0.4129, allocations: 35.92 kB / 0.504 GB, free: 280 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.4145, allocations: 0.9586 MB / 0.505 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4145, allocations: 3.938 kB / 0.505 GB, free: 15.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001605/0.4161, allocations: 436 kB / 0.5054 GB, free: 14.88 MB / 430.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.005214/0.4213, allocations: 3.4 MB / 0.5087 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003734/0.425, allocations: 1.941 MB / 0.5106 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.425, allocations: 0 / 0.5106 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.4273, allocations: 1.23 MB / 0.5118 GB, free: 8.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.4293, allocations: 383.8 kB / 0.5122 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/0.4575, allocations: 16.41 MB / 0.5282 GB, free: 6.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.4591, allocations: 1.693 MB / 0.5298 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009648/0.46, allocations: 320 kB / 0.5302 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.4611, allocations: 0.7063 MB / 0.5308 GB, free: 4.184 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4611, allocations: 3.938 kB / 0.5308 GB, free: 4.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2903/0.7514, allocations: 41.32 MB / 0.5712 GB, free: 77.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.35/20.11, allocations: 3.938 kB / 0.5712 GB, free: 77.03 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv","/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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.is[1] in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.2569924849995]