Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001463/0.001463, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001445/0.001445, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 8.004 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_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2778, allocations: 53.42 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01228/0.2901, allocations: 9.52 MB / 440.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006163/0.2962, allocations: 3.07 MB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.2976, allocations: 63.56 kB / 443.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.2995, allocations: 0.6717 MB / 444.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.3022, allocations: 0.8157 MB / 445.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.3031, allocations: 371.4 kB / 445.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00344/0.3065, allocations: 2.688 MB / 448.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.3083, allocations: 1.16 MB / 449.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.3102, allocations: 1.234 MB / 450.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.3129, allocations: 1.545 MB / 452.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006276/0.3135, allocations: 304 kB / 452.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000954/0.3145, allocations: 415.8 kB / 453 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009884/0.3154, allocations: 0.896 MB / 453.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.3171, allocations: 1.408 MB / 455.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005046/0.3222, allocations: 4.122 MB / 459.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3222, allocations: 0 / 459.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3222, allocations: 0 / 459.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.345e-05/0.3223, allocations: 0 / 459.5 MB, free: 10.27 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006598/0.3289, allocations: 2.861 MB / 462.3 MB, free: 7.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.3289, allocations: 8.031 kB / 462.3 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004797/0.3294, allocations: 295.5 kB / 462.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.3305, allocations: 335.1 kB / 462.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.3338, allocations: 1.488 MB / 464.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.3339, allocations: 160.1 kB / 464.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.3343, allocations: 207.9 kB / 464.8 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005051/0.3393, allocations: 2.732 MB / 467.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/0.3394, allocations: 7.953 kB / 467.5 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.3396, allocations: 80 kB / 467.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.3397, allocations: 91.94 kB / 467.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/0.344, allocations: 2.334 MB / 470 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/0.3588, allocations: 8.193 MB / 478.2 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.3608, allocations: 1.263 MB / 479.5 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.3627, allocations: 1.011 MB / 480.5 MB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.3629, allocations: 52.95 kB / 480.5 MB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.363, allocations: 43.56 kB / 480.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.865e-06/0.363, allocations: 0 / 480.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.0134/0.3764, allocations: 5.935 MB / 486.5 MB, free: 14.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3764, allocations: 64.41 kB / 486.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.3789, allocations: 1.529 MB / 488.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.379, allocations: 45.7 kB / 488.2 MB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008251/0.3798, allocations: 1.013 MB / 489.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.3802, allocations: 440.3 kB / 489.6 MB, free: 11.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/0.3806, allocations: 251.5 kB / 489.8 MB, free: 11.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3808, allocations: 361.9 kB / 490.2 MB, free: 10.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.382, allocations: 0.7339 MB / 490.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.3835, allocations: 1.055 MB / 492 MB, free: 9.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.3862, allocations: 1.883 MB / 493.9 MB, free: 7.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.3862, allocations: 4 kB / 493.9 MB, free: 7.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004252/0.3905, allocations: 2.342 MB / 496.2 MB, free: 4.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3905, allocations: 16.28 kB / 496.2 MB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.3905, allocations: 12 kB / 496.2 MB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.3915, allocations: 415.1 kB / 496.7 MB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.3928, allocations: 323.5 kB / 497 MB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005723/0.3985, allocations: 4.863 MB / 0.4901 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.3999, allocations: 99.84 kB / 0.4902 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.4, allocations: 52 kB / 0.4902 GB, free: 14.66 MB / 414.1 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.001334/0.4013, allocations: 0.7081 MB / 0.4909 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/0.4017, allocations: 171 kB / 0.4911 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/0.4057, allocations: 2.133 MB / 0.4932 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.4057, allocations: 12 kB / 0.4932 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.4057, allocations: 4 kB / 0.4932 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.4057, allocations: 7.969 kB / 0.4932 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008533/0.4142, allocations: 4.537 MB / 0.4976 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.4142, allocations: 4 kB / 0.4976 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.4152, allocations: 227.9 kB / 0.4978 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.4166, allocations: 466.9 kB / 0.4983 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.4167, allocations: 31.97 kB / 0.4983 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007093/0.4238, allocations: 6.374 MB / 0.5045 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4238, allocations: 4 kB / 0.5045 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/0.4291, allocations: 3.189 MB / 0.5076 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.4301, allocations: 334.8 kB / 0.508 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.4304, allocations: 24 kB / 0.508 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.4312, allocations: 79.91 kB / 0.5081 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.4315, allocations: 112.7 kB / 0.5082 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/0.4316, allocations: 39.92 kB / 0.5082 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001641/0.4332, allocations: 1.056 MB / 0.5092 GB, free: 10.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4332, allocations: 0 / 0.5092 GB, free: 10.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001432/0.4347, allocations: 460 kB / 0.5097 GB, free: 10.19 MB / 430.1 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.005704/0.4404, allocations: 3.814 MB / 0.5134 GB, free: 6.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0037/0.4441, allocations: 2.048 MB / 0.5154 GB, free: 4.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.4441, allocations: 1.875 kB / 0.5154 GB, free: 4.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002338/0.4464, allocations: 1.358 MB / 0.5167 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.4486, allocations: 455.4 kB / 0.5172 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/0.4778, allocations: 17.5 MB / 0.5343 GB, free: 340 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2043/0.6821, allocations: 1.827 MB / 0.536 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001658/0.6838, allocations: 400.6 kB / 0.5364 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.6849, allocations: 0.8041 MB / 0.5372 GB, free: 102.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.325e-06/0.6849, allocations: 5.062 kB / 0.5372 GB, free: 102.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08731/0.7722, allocations: 44.84 MB / 0.581 GB, free: 66.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.93/22.7, allocations: 7.844 kB / 0.581 GB, free: 66.61 MB / 446.1 MB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_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_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.is[1] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.94445122200341]