Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001851/0.001851, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002071/0.002071, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 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 1.401/1.401, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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_Initialize,fileNamePrefix="Modelica_4_0_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_0_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.001529/0.001529, allocations: 51.92 kB / 365.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01136/0.1148, allocations: 8.962 MB / 426.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005723/0.1205, allocations: 2.866 MB / 429.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.1217, allocations: 51.69 kB / 429.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.1235, allocations: 0.6407 MB / 430.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.126, allocations: 0.7652 MB / 431.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008697/0.1268, allocations: 319.5 kB / 431.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003259/0.1301, allocations: 2.369 MB / 433.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.132, allocations: 1.274 MB / 435 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.1337, allocations: 1.094 MB / 436.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.136, allocations: 1.378 MB / 437.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006031/0.1366, allocations: 280 kB / 437.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1376, allocations: 367.8 kB / 438.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.1387, allocations: 0.8063 MB / 438.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.1407, allocations: 1.264 MB / 440.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00499/0.1457, allocations: 3.69 MB / 443.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1457, allocations: 0 / 443.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1457, allocations: 0 / 443.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001104/0.1458, allocations: 0 / 443.9 MB, free: 2.363 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.1975/0.3433, allocations: 2.635 MB / 446.5 MB, free: 28.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3433, allocations: 9.031 kB / 446.5 MB, free: 28.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005164/0.3439, allocations: 262.1 kB / 446.8 MB, free: 28.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008125/0.3447, allocations: 272.2 kB / 447.1 MB, free: 28.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.3471, allocations: 1.398 MB / 448.5 MB, free: 27.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.3472, allocations: 137.7 kB / 448.6 MB, free: 27.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/0.3475, allocations: 188.5 kB / 448.8 MB, free: 27.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.3514, allocations: 2.404 MB / 451.2 MB, free: 27.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.797e-05/0.3515, allocations: 6.781 kB / 451.2 MB, free: 27.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.3517, allocations: 76.33 kB / 451.3 MB, free: 27.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.3518, allocations: 86.05 kB / 451.3 MB, free: 27.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.3557, allocations: 2.022 MB / 453.4 MB, free: 27.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.3682, allocations: 7.39 MB / 460.8 MB, free: 23.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.37, allocations: 1.214 MB / 462 MB, free: 22.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.3716, allocations: 0.8631 MB / 462.8 MB, free: 22.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.3719, allocations: 124.3 kB / 463 MB, free: 22.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3719, allocations: 44.59 kB / 463 MB, free: 22.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.487e-06/0.3719, allocations: 0 / 463 MB, free: 22.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009472/0.3814, allocations: 4.908 MB / 467.9 MB, free: 20.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.3814, allocations: 61.75 kB / 468 MB, free: 20.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.3833, allocations: 1.379 MB / 469.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.3835, allocations: 45.89 kB / 469.4 MB, free: 19.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.3839, allocations: 0.9212 MB / 470.3 MB, free: 18.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.3841, allocations: 368.6 kB / 470.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/0.3845, allocations: 217.3 kB / 470.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.3845, allocations: 354.7 kB / 471.2 MB, free: 17.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008781/0.3854, allocations: 0.6275 MB / 471.9 MB, free: 17.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/0.3864, allocations: 0.9264 MB / 472.8 MB, free: 16.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.3882, allocations: 1.649 MB / 474.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3882, allocations: 2.75 kB / 474.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003766/0.392, allocations: 2.38 MB / 476.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.392, allocations: 12.53 kB / 476.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3921, allocations: 11.81 kB / 476.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.3937, allocations: 0.7038 MB / 477.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.3944, allocations: 240.3 kB / 477.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007947/0.4024, allocations: 8.734 MB / 486.5 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.4035, allocations: 79.88 kB / 486.6 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/0.4036, allocations: 47.98 kB / 486.6 MB, free: 6.203 MB / 366.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.000857/0.4044, allocations: 0.6262 MB / 487.3 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.4047, allocations: 147.1 kB / 487.4 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.4074, allocations: 1.9 MB / 489.3 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4074, allocations: 12 kB / 489.3 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4074, allocations: 0 / 489.3 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4074, allocations: 7.984 kB / 489.3 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005777/0.4132, allocations: 3.997 MB / 493.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.4132, allocations: 6.344 kB / 493.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/0.414, allocations: 183.7 kB / 493.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.4152, allocations: 459.1 kB / 494 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/0.4153, allocations: 31.98 kB / 494 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007197/0.4225, allocations: 6.688 MB / 0.4889 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4225, allocations: 8 kB / 0.489 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004805/0.4273, allocations: 2.768 MB / 0.4917 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008895/0.4282, allocations: 364 kB / 0.492 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.4285, allocations: 28.81 kB / 0.492 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/0.4293, allocations: 67.91 kB / 0.4921 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.4296, allocations: 84.95 kB / 0.4922 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.916e-05/0.4296, allocations: 27.98 kB / 0.4922 GB, free: 4.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00152/0.4312, allocations: 0.9543 MB / 0.4931 GB, free: 3.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4312, allocations: 0 / 0.4931 GB, free: 3.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001658/0.4328, allocations: 435.9 kB / 0.4936 GB, free: 2.855 MB / 382.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.00537/0.4382, allocations: 3.414 MB / 0.4969 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003819/0.442, allocations: 1.943 MB / 0.4988 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.442, allocations: 4.125 kB / 0.4988 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.4443, allocations: 1.304 MB / 0.5001 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.4464, allocations: 388.2 kB / 0.5004 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/0.4746, allocations: 16.32 MB / 0.5164 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/0.4764, allocations: 1.689 MB / 0.518 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009885/0.4774, allocations: 312 kB / 0.5183 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.4785, allocations: 0.7023 MB / 0.519 GB, free: 8.188 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4785, allocations: 0 / 0.519 GB, free: 8.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/0.5938, allocations: 40.16 MB / 0.5582 GB, free: 440 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/18.15, allocations: 6.672 kB / 0.5582 GB, free: 436 kB / 446.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.175298975314945]