Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.001765/0.001765, allocations: 112.7 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.002282/0.002282, allocations: 214 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.988 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_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.89 kB / 377.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2628, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01177/0.2746, allocations: 8.955 MB / 440.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006149/0.2808, allocations: 2.903 MB / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.282, allocations: 63.62 kB / 443.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.2838, allocations: 0.64 MB / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.2861, allocations: 0.7574 MB / 444.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.287, allocations: 331.4 kB / 444.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003003/0.29, allocations: 2.241 MB / 447.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.2915, allocations: 1.02 MB / 448.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.2932, allocations: 1.055 MB / 449.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.2955, allocations: 1.323 MB / 450.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004369/0.2959, allocations: 268 kB / 450.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007602/0.2967, allocations: 367.8 kB / 451.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008887/0.2976, allocations: 0.7714 MB / 451.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.2991, allocations: 1.209 MB / 453.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.3037, allocations: 3.546 MB / 456.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3037, allocations: 0 / 456.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3037, allocations: 0 / 456.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.731e-05/0.3037, allocations: 0 / 456.6 MB, free: 13.13 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005799/0.3095, allocations: 2.47 MB / 459.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.3096, allocations: 12.03 kB / 459.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004105/0.31, allocations: 274 kB / 459.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007508/0.3107, allocations: 267.4 kB / 459.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.3134, allocations: 1.246 MB / 460.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.3135, allocations: 135.7 kB / 461 MB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000329/0.3138, allocations: 187.9 kB / 461.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004233/0.3181, allocations: 2.359 MB / 463.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.636e-05/0.3181, allocations: 23.88 kB / 463.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.3183, allocations: 68 kB / 463.7 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.3184, allocations: 95.5 kB / 463.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003671/0.3221, allocations: 1.962 MB / 465.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.3347, allocations: 6.957 MB / 472.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.3365, allocations: 0.997 MB / 473.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.3381, allocations: 0.8038 MB / 474.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.3383, allocations: 48.95 kB / 474.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3384, allocations: 43.56 kB / 474.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.467e-06/0.3384, allocations: 0 / 474.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01387/0.3522, allocations: 5.671 MB / 480.2 MB, free: 5.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3523, allocations: 60.41 kB / 480.3 MB, free: 5.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.3542, allocations: 1.223 MB / 481.5 MB, free: 3.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.3543, allocations: 41.7 kB / 481.5 MB, free: 3.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007647/0.3551, allocations: 0.887 MB / 482.4 MB, free: 2.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.3554, allocations: 388.8 kB / 482.8 MB, free: 2.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.3558, allocations: 218.9 kB / 483 MB, free: 2.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.356, allocations: 349.9 kB / 483.4 MB, free: 1.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.3571, allocations: 0.6194 MB / 484 MB, free: 1.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3584, allocations: 0.9266 MB / 484.9 MB, free: 284 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/0.3609, allocations: 1.631 MB / 486.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3609, allocations: 4 kB / 486.6 MB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004057/0.365, allocations: 2.145 MB / 488.7 MB, free: 12.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.365, allocations: 12 kB / 488.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.365, allocations: 8.25 kB / 488.7 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.3662, allocations: 479.9 kB / 489.2 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.3673, allocations: 271.6 kB / 489.5 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007878/0.3752, allocations: 6.707 MB / 496.2 MB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.3764, allocations: 91.8 kB / 496.2 MB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.3766, allocations: 48 kB / 496.3 MB, free: 4.395 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.3777, allocations: 0.5951 MB / 496.9 MB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.3781, allocations: 147 kB / 497 MB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.382, allocations: 1.945 MB / 499 MB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.382, allocations: 15.98 kB / 499 MB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.382, allocations: 4 kB / 499 MB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.382, allocations: 3.984 kB / 499 MB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007758/0.3898, allocations: 4.092 MB / 0.4913 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.3898, allocations: 4 kB / 0.4913 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.3906, allocations: 180.2 kB / 0.4915 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.392, allocations: 0.5232 MB / 0.492 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.683e-05/0.3921, allocations: 31.98 kB / 0.492 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009156/0.4013, allocations: 8.214 MB / 0.5 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.4013, allocations: 7.938 kB / 0.5 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.4065, allocations: 2.867 MB / 0.5028 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008578/0.4074, allocations: 278.9 kB / 0.5031 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.4076, allocations: 27.92 kB / 0.5031 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008207/0.4084, allocations: 75.92 kB / 0.5032 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.4087, allocations: 96.7 kB / 0.5033 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.049e-05/0.4087, allocations: 39.98 kB / 0.5033 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001366/0.4101, allocations: 0.8345 MB / 0.5042 GB, free: 15.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4101, allocations: 0 / 0.5042 GB, free: 15.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001483/0.4116, allocations: 408 kB / 0.5045 GB, free: 15.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,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.005502/0.4171, allocations: 3.509 MB / 0.508 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003702/0.4208, allocations: 1.956 MB / 0.5099 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4208, allocations: 0 / 0.5099 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/0.4232, allocations: 1.353 MB / 0.5112 GB, free: 8.336 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4252, allocations: 379.5 kB / 0.5116 GB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/0.4506, allocations: 15.01 MB / 0.5262 GB, free: 8.406 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.4522, allocations: 1.634 MB / 0.5278 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001059/0.4532, allocations: 299.8 kB / 0.5281 GB, free: 6.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.4543, allocations: 0.6906 MB / 0.5288 GB, free: 5.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4543, allocations: 0 / 0.5288 GB, free: 5.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2919/0.7461, allocations: 38.68 MB / 0.5666 GB, free: 80.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.75, allocations: 0 / 0.5666 GB, free: 80.69 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_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_Inverter.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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_Inverter_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv failed! Error: Could not read variable vfController.x in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable vfController.x from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.08941577800215]