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.001917/0.001917, allocations: 110 kB / 20.43 MB, free: 1.453 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.002324/0.002324, allocations: 213.5 kB / 23.74 MB, free: 4.66 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.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.996 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 59.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2668, allocations: 53.42 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01145/0.2783, allocations: 9.033 MB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.2844, allocations: 2.976 MB / 443.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.2857, allocations: 55.62 kB / 443.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.2874, allocations: 0.6401 MB / 443.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.2899, allocations: 0.7846 MB / 444.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/0.2909, allocations: 339.5 kB / 445 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0034/0.2943, allocations: 2.377 MB / 447.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.296, allocations: 1.02 MB / 448.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.2979, allocations: 1.102 MB / 449.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.3003, allocations: 1.386 MB / 450.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006565/0.3009, allocations: 280 kB / 451.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.302, allocations: 383.8 kB / 451.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.3031, allocations: 0.8141 MB / 452.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.305, allocations: 1.26 MB / 453.6 MB, free: 112 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.3099, allocations: 3.713 MB / 457.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3099, allocations: 0 / 457.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3099, allocations: 0 / 457.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001072/0.31, allocations: 0 / 457.3 MB, free: 12.38 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.006249/0.3163, allocations: 2.583 MB / 459.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3163, allocations: 12.03 kB / 459.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004715/0.3168, allocations: 270 kB / 460.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.3179, allocations: 303.3 kB / 460.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.3211, allocations: 1.349 MB / 461.8 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.3212, allocations: 135.7 kB / 462 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004062/0.3216, allocations: 184 kB / 462.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004716/0.3263, allocations: 2.413 MB / 464.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.28e-05/0.3264, allocations: 4 kB / 464.6 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.3266, allocations: 68 kB / 464.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.3267, allocations: 91.48 kB / 464.7 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004132/0.3308, allocations: 2.016 MB / 466.7 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.3451, allocations: 7.257 MB / 474 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.3471, allocations: 0.9911 MB / 475 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.3489, allocations: 0.8542 MB / 475.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.3491, allocations: 48.95 kB / 475.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.3491, allocations: 39.56 kB / 475.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.815e-06/0.3491, allocations: 0 / 475.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01019/0.3593, allocations: 4.702 MB / 480.6 MB, free: 4.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3594, allocations: 64.34 kB / 480.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.3617, allocations: 1.397 MB / 482.1 MB, free: 3.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.3619, allocations: 45.7 kB / 482.1 MB, free: 3.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000802/0.3627, allocations: 0.9189 MB / 483.1 MB, free: 2.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.3631, allocations: 368.9 kB / 483.4 MB, free: 1.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.3635, allocations: 214.9 kB / 483.6 MB, free: 1.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3636, allocations: 345.9 kB / 484 MB, free: 1.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.3648, allocations: 0.6467 MB / 484.6 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.3661, allocations: 0.922 MB / 485.5 MB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.3687, allocations: 1.649 MB / 487.2 MB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/0.3687, allocations: 7.938 kB / 487.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004777/0.3735, allocations: 2.376 MB / 489.6 MB, free: 11.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.3735, allocations: 8 kB / 489.6 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.3735, allocations: 8 kB / 489.6 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.3755, allocations: 0.7167 MB / 490.3 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.3765, allocations: 239.7 kB / 490.5 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.3885, allocations: 8.534 MB / 499.1 MB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3897, allocations: 83.88 kB / 499.1 MB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.3898, allocations: 47.98 kB / 499.2 MB, free: 1.578 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.001162/0.391, allocations: 0.6263 MB / 499.8 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.3913, allocations: 151 kB / 500 MB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.3949, allocations: 1.897 MB / 0.4901 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.3949, allocations: 12 kB / 0.4901 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.3949, allocations: 4 kB / 0.4901 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.3949, allocations: 7.969 kB / 0.4901 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007757/0.4027, allocations: 3.965 MB / 0.494 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.4027, allocations: 4 kB / 0.494 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/0.4035, allocations: 176 kB / 0.4942 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.4049, allocations: 474.9 kB / 0.4946 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.405, allocations: 27.92 kB / 0.4946 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007328/0.4123, allocations: 6.382 MB / 0.5009 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4123, allocations: 3.938 kB / 0.5009 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.4173, allocations: 2.769 MB / 0.5036 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.4183, allocations: 290.9 kB / 0.5039 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.4186, allocations: 27.98 kB / 0.5039 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008889/0.4195, allocations: 71.92 kB / 0.504 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.4198, allocations: 80.78 kB / 0.504 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.4198, allocations: 35.92 kB / 0.5041 GB, free: 68 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001673/0.4215, allocations: 0.9625 MB / 0.505 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4215, allocations: 0 / 0.505 GB, free: 15.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001889/0.4234, allocations: 436 kB / 0.5054 GB, free: 14.68 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.005469/0.4289, allocations: 3.404 MB / 0.5087 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004167/0.433, allocations: 1.945 MB / 0.5106 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.433, allocations: 0 / 0.5106 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.4355, allocations: 1.23 MB / 0.5118 GB, free: 7.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.4376, allocations: 387.3 kB / 0.5122 GB, free: 7.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02928/0.4669, allocations: 16.4 MB / 0.5282 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/0.4687, allocations: 1.7 MB / 0.5299 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001044/0.4697, allocations: 312 kB / 0.5302 GB, free: 4.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.4708, allocations: 0.7023 MB / 0.5309 GB, free: 3.984 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4708, allocations: 8 kB / 0.5309 GB, free: 3.977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2903/0.7611, allocations: 41.31 MB / 0.5712 GB, free: 76.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.04/19.8, allocations: 12 kB / 0.5712 GB, free: 76.3 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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.996713928001554]