Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001592/0.001592, 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.002035/0.002035, allocations: 212.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.553/1.553, 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.89 kB / 377.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2843, allocations: 53.41 MB / 431.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03238/0.3167, allocations: 27.16 MB / 458.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01969/0.3364, allocations: 8.207 MB / 466.6 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007397/0.3438, allocations: 238.8 kB / 466.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02364/0.3674, allocations: 9.501 MB / 476.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01417/0.3816, allocations: 3.45 MB / 479.8 MB, free: 5.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007241/0.3889, allocations: 1.872 MB / 481.7 MB, free: 4.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02254/0.4114, allocations: 12.37 MB / 494 MB, free: 7.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03888/0.4503, allocations: 16.04 MB / 0.4981 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.463, allocations: 6.616 MB / 0.5046 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01435/0.4774, allocations: 7.308 MB / 0.5117 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006182/0.4836, allocations: 1.84 MB / 0.5135 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009584/0.4931, allocations: 2.234 MB / 0.5157 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006879/0.5, allocations: 3.624 MB / 0.5192 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01318/0.5132, allocations: 6.927 MB / 0.526 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3057/0.8189, allocations: 24.81 MB / 0.5502 GB, free: 43.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8189, allocations: 0.9688 kB / 0.5502 GB, free: 43.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.8189, allocations: 2.734 kB / 0.5502 GB, free: 43.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008254/0.8197, allocations: 0 / 0.5502 GB, free: 43.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.05176/0.8715, allocations: 14.69 MB / 0.5646 GB, free: 37.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.8715, allocations: 7.656 kB / 0.5646 GB, free: 37.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008861/0.8804, allocations: 1.785 MB / 0.5663 GB, free: 36.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04725/0.9276, allocations: 8.439 MB / 0.5746 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01854/0.9462, allocations: 7.771 MB / 0.5821 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009424/0.9471, allocations: 0.8046 MB / 0.5829 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007082/0.9542, allocations: 1.055 MB / 0.584 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04872/1.003, allocations: 18.34 MB / 0.6019 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005254/1.003, allocations: 19.89 kB / 0.6019 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005612/1.009, allocations: 450.1 kB / 0.6023 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006078/1.01, allocations: 0.6672 MB / 0.603 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04159/1.051, allocations: 17.59 MB / 0.6201 GB, free: 6.262 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.128/1.179, allocations: 56.91 MB / 0.6757 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02743/1.207, allocations: 12.83 MB / 0.6882 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00871/1.215, allocations: 3.746 MB / 0.6919 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/1.216, allocations: 155.3 kB / 0.6921 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/1.216, allocations: 86.62 kB / 0.6921 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=518): time 1.178e-05/1.216, allocations: 0 / 0.6921 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=524): time 0.05951/1.276, allocations: 21.46 MB / 0.7131 GB, free: 8.879 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/1.276, allocations: 107.5 kB / 0.7132 GB, free: 8.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007338/1.283, allocations: 4.184 MB / 0.7173 GB, free: 4.547 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009159/1.284, allocations: 109.7 kB / 0.7174 GB, free: 4.434 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003714/1.288, allocations: 4.666 MB / 0.7219 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002467/1.29, allocations: 1.873 MB / 0.7238 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002354/1.293, allocations: 1.375 MB / 0.7251 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.293, allocations: 301.1 kB / 0.7254 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005866/1.299, allocations: 3.445 MB / 0.7288 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008407/1.307, allocations: 5.885 MB / 0.7345 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/1.323, allocations: 10.05 MB / 0.7443 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-05/1.323, allocations: 24 kB / 0.7443 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2564/1.58, allocations: 10.95 MB / 0.755 GB, free: 201.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.988e-05/1.58, allocations: 39.5 kB / 0.7551 GB, free: 201.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/1.58, allocations: 75.55 kB / 0.7552 GB, free: 201.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/1.583, allocations: 1.447 MB / 0.7566 GB, free: 201.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005823/1.589, allocations: 1.622 MB / 0.7582 GB, free: 201.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.604, allocations: 11.4 MB / 0.7693 GB, free: 198 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005311/1.609, allocations: 413.2 kB / 0.7697 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.61, allocations: 336.8 kB / 0.77 GB, free: 197.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00632/1.616, allocations: 4.158 MB / 0.7741 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.617, allocations: 0.4926 MB / 0.7745 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.63, allocations: 8.441 MB / 0.7828 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009226/1.639, allocations: 7.074 MB / 0.7897 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/1.639, allocations: 14.19 kB / 0.7897 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.19e-05/1.639, allocations: 26.48 kB / 0.7897 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03598/1.675, allocations: 18.82 MB / 0.8081 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.675, allocations: 4 kB / 0.8081 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003893/1.679, allocations: 0.9439 MB / 0.809 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003563/1.683, allocations: 1.308 MB / 0.8103 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007292/1.683, allocations: 116 kB / 0.8104 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/1.697, allocations: 10.09 MB / 0.8203 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.697, allocations: 4 kB / 0.8203 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01997/1.717, allocations: 12.29 MB / 0.8323 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003905/1.721, allocations: 1.137 MB / 0.8334 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001755/1.722, allocations: 104 kB / 0.8335 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/1.726, allocations: 263.7 kB / 0.8337 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001203/1.727, allocations: 376.2 kB / 0.8341 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007637/1.728, allocations: 160 kB / 0.8343 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005801/1.734, allocations: 2.815 MB / 0.837 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4e-07/1.734, allocations: 0 / 0.837 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009863/1.744, allocations: 1.934 MB / 0.8389 GB, free: 143.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02183/1.765, allocations: 13.05 MB / 0.8516 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0144/1.78, allocations: 8.413 MB / 0.8599 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.78, allocations: 0 / 0.8599 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007417/1.787, allocations: 3.9 MB / 0.8637 GB, free: 117.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008287/1.796, allocations: 1.138 MB / 0.8648 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1287/1.924, allocations: 64.13 MB / 0.9274 GB, free: 49.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01283/1.937, allocations: 7.011 MB / 0.9342 GB, free: 42.67 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007622/1.945, allocations: 2.317 MB / 0.9365 GB, free: 40.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007311/1.952, allocations: 3.893 MB / 0.9403 GB, free: 36.45 MB / 0.5762 GB Notification: Performance of SimCode: time 1.463e-06/1.952, allocations: 4 kB / 0.9403 GB, free: 36.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5052/2.457, allocations: 157 MB / 1.094 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.18/27.64, allocations: 19.55 kB / 1.094 GB, free: 115.3 MB / 0.5762 GB " [Timeout remaining time 632] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.plug_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 30.361160254000424]