Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001855/0.001855, 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.002004/0.002004, 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.477/1.477, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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.001623/0.001623, allocations: 43.92 kB / 365.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1126, allocations: 52.14 MB / 417.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03123/0.1439, allocations: 27.09 MB / 444.9 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2476/0.3915, allocations: 8.042 MB / 452.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006427/0.3979, allocations: 237.4 kB / 453.2 MB, free: 7.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02058/0.4185, allocations: 9.473 MB / 462.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.4303, allocations: 3.371 MB / 466 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006062/0.4364, allocations: 1.824 MB / 467.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01801/0.4544, allocations: 12.14 MB / 480 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03439/0.4888, allocations: 18.65 MB / 498.6 MB, free: 3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0138/0.5026, allocations: 6.577 MB / 0.4934 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01312/0.5157, allocations: 7.248 MB / 0.5004 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005687/0.5214, allocations: 1.84 MB / 0.5022 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.5316, allocations: 2.199 MB / 0.5044 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007387/0.539, allocations: 3.617 MB / 0.5079 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01585/0.5549, allocations: 6.926 MB / 0.5147 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03597/0.5908, allocations: 24.79 MB / 0.5389 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5909, allocations: 8 kB / 0.5389 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5909, allocations: 0 / 0.5389 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006917/0.5915, allocations: 0 / 0.5389 GB, free: 14.61 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.04806/0.6396, allocations: 14.73 MB / 0.5533 GB, free: 15.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.6397, allocations: 8.031 kB / 0.5533 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006582/0.6462, allocations: 1.786 MB / 0.555 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04957/0.6958, allocations: 8.538 MB / 0.5634 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/0.7135, allocations: 7.671 MB / 0.5709 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/0.7145, allocations: 0.809 MB / 0.5717 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004472/0.719, allocations: 1.061 MB / 0.5727 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05224/0.7712, allocations: 18.29 MB / 0.5906 GB, free: 9.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005446/0.7717, allocations: 15.94 kB / 0.5906 GB, free: 9.758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005292/0.777, allocations: 453.4 kB / 0.591 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008827/0.7779, allocations: 0.6749 MB / 0.5917 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03917/0.8171, allocations: 17.54 MB / 0.6088 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5175/1.335, allocations: 58.22 MB / 0.6657 GB, free: 121.9 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02702/1.362, allocations: 36.95 MB / 0.7017 GB, free: 88.22 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00632/1.368, allocations: 3.744 MB / 0.7054 GB, free: 86.25 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/1.369, allocations: 192.4 kB / 0.7056 GB, free: 86.12 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.413e-05/1.369, allocations: 93.39 kB / 0.7057 GB, free: 86.03 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.265e-06/1.369, allocations: 0 / 0.7057 GB, free: 86.03 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04787/1.417, allocations: 21.54 MB / 0.7267 GB, free: 73.96 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/1.417, allocations: 107.9 kB / 0.7268 GB, free: 73.89 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006087/1.423, allocations: 4.181 MB / 0.7309 GB, free: 71.7 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.424, allocations: 112.5 kB / 0.731 GB, free: 71.6 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002401/1.426, allocations: 4.668 MB / 0.7356 GB, free: 68.13 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.428, allocations: 1.865 MB / 0.7374 GB, free: 66.52 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002342/1.431, allocations: 1.357 MB / 0.7387 GB, free: 65.75 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.431, allocations: 305.1 kB / 0.739 GB, free: 65.46 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005739/1.436, allocations: 3.446 MB / 0.7424 GB, free: 63.61 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/1.442, allocations: 5.879 MB / 0.7481 GB, free: 56.71 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/1.453, allocations: 10.02 MB / 0.7579 GB, free: 45.53 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-05/1.453, allocations: 24 kB / 0.7579 GB, free: 45.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01596/1.469, allocations: 10.93 MB / 0.7686 GB, free: 34.49 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/1.469, allocations: 36 kB / 0.7686 GB, free: 34.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.469, allocations: 83.94 kB / 0.7687 GB, free: 34.37 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003553/1.473, allocations: 1.437 MB / 0.7701 GB, free: 32.93 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00562/1.478, allocations: 1.615 MB / 0.7717 GB, free: 31.31 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/1.493, allocations: 11.5 MB / 0.7829 GB, free: 19.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/1.499, allocations: 411.5 kB / 0.7833 GB, free: 19.27 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.5, allocations: 328 kB / 0.7836 GB, free: 18.95 MB / 0.5138 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.007118/1.507, allocations: 4.169 MB / 0.7877 GB, free: 14.77 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.509, allocations: 0.4891 MB / 0.7881 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/1.521, allocations: 8.44 MB / 0.7964 GB, free: 5.73 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01014/1.532, allocations: 7.037 MB / 0.8033 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/1.532, allocations: 12 kB / 0.8033 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-05/1.532, allocations: 27.84 kB / 0.8033 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03908/1.571, allocations: 18.74 MB / 0.8216 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/1.571, allocations: 4 kB / 0.8216 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004127/1.575, allocations: 0.9323 MB / 0.8225 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003964/1.579, allocations: 1.309 MB / 0.8238 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007854/1.58, allocations: 111.9 kB / 0.8239 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/1.596, allocations: 10.18 MB / 0.8338 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.596, allocations: 4 kB / 0.8339 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0226/1.619, allocations: 12.25 MB / 0.8458 GB, free: 2.617 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003664/1.622, allocations: 1.185 MB / 0.847 GB, free: 1.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.624, allocations: 92 kB / 0.8471 GB, free: 1.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/1.627, allocations: 279.7 kB / 0.8473 GB, free: 1.047 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009167/1.627, allocations: 352.4 kB / 0.8477 GB, free: 0.6992 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003378/1.628, allocations: 152 kB / 0.8478 GB, free: 0.5508 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.254/1.882, allocations: 2.811 MB / 0.8505 GB, free: 183.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.8e-07/1.882, allocations: 0 / 0.8505 GB, free: 183.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008996/1.891, allocations: 1.936 MB / 0.8524 GB, free: 183.5 MB / 0.5607 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.02454/1.915, allocations: 13.02 MB / 0.8651 GB, free: 180.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01626/1.932, allocations: 8.381 MB / 0.8733 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.932, allocations: 3.969 kB / 0.8733 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007145/1.939, allocations: 3.895 MB / 0.8771 GB, free: 176 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005931/1.945, allocations: 1.119 MB / 0.8782 GB, free: 175.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09207/2.037, allocations: 64.05 MB / 0.9408 GB, free: 125.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007396/2.044, allocations: 7.009 MB / 0.9476 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005283/2.049, allocations: 2.321 MB / 0.9499 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005047/2.054, allocations: 3.862 MB / 0.9537 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.764e-06/2.054, allocations: 0 / 0.9537 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4541/2.509, allocations: 150.3 MB / 1.1 GB, free: 167.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.82/25.33, allocations: 4.172 kB / 1.1 GB, free: 167.5 MB / 0.5607 GB " [Timeout remaining time 635] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.0.0_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: 28.064416053239256]