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.0009804/0.0009804, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001071/0.001071, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9332/0.9332, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.743e-06/1.743e-06, allocations: 0 / 318.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.439e-05, allocations: 2.281 kB / 318.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01777/0.01779, allocations: 23.19 MB / 341.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.03209, allocations: 7.75 MB / 349.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005904/0.03799, allocations: 238.8 kB / 349.7 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01244/0.05043, allocations: 9.234 MB / 358.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009716/0.06015, allocations: 3.437 MB / 362.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004486/0.06463, allocations: 1.813 MB / 364.1 MB, free: 8.512 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01374/0.07837, allocations: 12.66 MB / 376.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02643/0.1048, allocations: 15.87 MB / 392.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0175/0.1223, allocations: 9.727 MB / 402.4 MB, free: 2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.1336, allocations: 6.268 MB / 408.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00476/0.1384, allocations: 1.832 MB / 410.5 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005942/0.1443, allocations: 2.198 MB / 412.7 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003451/0.1478, allocations: 3.678 MB / 416.4 MB, free: 4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009165/0.157, allocations: 4.628 MB / 421 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02037/0.1773, allocations: 25.09 MB / 446.1 MB, free: 6.211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1773, allocations: 4 kB / 446.1 MB, free: 6.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1773, allocations: 0 / 446.1 MB, free: 6.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000521/0.1779, allocations: 0 / 446.1 MB, free: 6.207 MB / 410.7 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.3501/0.528, allocations: 14.52 MB / 460.6 MB, free: 104.2 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.528, allocations: 12.92 kB / 460.6 MB, free: 104.2 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001917/0.5299, allocations: 1.788 MB / 462.4 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.021/0.5509, allocations: 8.557 MB / 471 MB, free: 93.99 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009071/0.56, allocations: 7.781 MB / 478.7 MB, free: 86.64 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.5603, allocations: 0.8063 MB / 479.6 MB, free: 85.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.5616, allocations: 1.058 MB / 480.6 MB, free: 84.8 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.5819, allocations: 18.5 MB / 499.1 MB, free: 66.23 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.5821, allocations: 23.84 kB / 499.1 MB, free: 66.2 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007799/0.5829, allocations: 450.3 kB / 499.6 MB, free: 65.78 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/0.5832, allocations: 0.671 MB / 0.4885 GB, free: 65.11 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02035/0.6036, allocations: 17.44 MB / 0.5056 GB, free: 47.66 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05018/0.6538, allocations: 52.01 MB / 0.5563 GB, free: 11.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/0.667, allocations: 12.62 MB / 0.5687 GB, free: 0.6836 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003614/0.6706, allocations: 3.729 MB / 0.5723 GB, free: 12.93 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.6709, allocations: 104 kB / 0.5724 GB, free: 12.82 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.6709, allocations: 86.62 kB / 0.5725 GB, free: 12.73 MB / 442.8 MB Notification: Performance of pre-optimization done (n=518): time 6.703e-06/0.6709, allocations: 0 / 0.5725 GB, free: 12.73 MB / 442.8 MB Notification: Performance of matching and sorting (n=524): time 0.02879/0.6997, allocations: 21.2 MB / 0.5932 GB, free: 7.461 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.6998, allocations: 107.5 kB / 0.5933 GB, free: 7.34 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004354/0.7041, allocations: 4.252 MB / 0.5975 GB, free: 3.059 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.7044, allocations: 105.7 kB / 0.5976 GB, free: 2.949 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/0.7064, allocations: 4.658 MB / 0.6021 GB, free: 14.27 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.7076, allocations: 1.836 MB / 0.6039 GB, free: 12.42 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.709, allocations: 1.347 MB / 0.6052 GB, free: 11.07 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.504e-05/0.7091, allocations: 309.1 kB / 0.6055 GB, free: 10.76 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/0.7124, allocations: 3.426 MB / 0.6089 GB, free: 7.332 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/0.7168, allocations: 5.898 MB / 0.6146 GB, free: 340 kB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00849/0.7253, allocations: 9.984 MB / 0.6244 GB, free: 5.18 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.343e-05/0.7254, allocations: 24 kB / 0.6244 GB, free: 5.156 MB / 490.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.1912/0.9166, allocations: 10.87 MB / 0.635 GB, free: 161.4 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.9166, allocations: 37.47 kB / 0.635 GB, free: 161.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.698e-05/0.9167, allocations: 79.12 kB / 0.6351 GB, free: 161.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.9186, allocations: 1.371 MB / 0.6364 GB, free: 161.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/0.9213, allocations: 1.616 MB / 0.638 GB, free: 161.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008656/0.93, allocations: 10.98 MB / 0.6487 GB, free: 155.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.9324, allocations: 410.2 kB / 0.6491 GB, free: 155.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003945/0.9328, allocations: 332.2 kB / 0.6495 GB, free: 155.6 MB / 490.8 MB 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.003956/0.9367, allocations: 4.16 MB / 0.6535 GB, free: 153.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/0.9372, allocations: 0.4918 MB / 0.654 GB, free: 153.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007611/0.9448, allocations: 8.387 MB / 0.6622 GB, free: 148.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006056/0.9509, allocations: 7.007 MB / 0.669 GB, free: 142.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.9509, allocations: 12 kB / 0.669 GB, free: 142.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/0.9509, allocations: 27.33 kB / 0.6691 GB, free: 142.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.9677, allocations: 17.8 MB / 0.6865 GB, free: 126 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.9677, allocations: 4.281 kB / 0.6865 GB, free: 126 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.9696, allocations: 0.9362 MB / 0.6874 GB, free: 125.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00169/0.9713, allocations: 1.229 MB / 0.6886 GB, free: 123.9 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/0.9715, allocations: 108 kB / 0.6887 GB, free: 123.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007493/0.979, allocations: 9.697 MB / 0.6981 GB, free: 114.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.979, allocations: 7.938 kB / 0.6981 GB, free: 114.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.9893, allocations: 12.19 MB / 0.7101 GB, free: 101.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/0.9909, allocations: 1.123 MB / 0.7112 GB, free: 100.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/0.9913, allocations: 92 kB / 0.7112 GB, free: 100.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.9925, allocations: 275.8 kB / 0.7115 GB, free: 100.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004233/0.9929, allocations: 368.2 kB / 0.7119 GB, free: 99.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/0.9931, allocations: 144 kB / 0.712 GB, free: 99.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002488/0.9956, allocations: 2.772 MB / 0.7147 GB, free: 96.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.9956, allocations: 0 / 0.7147 GB, free: 96.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004227/0.9998, allocations: 1.916 MB / 0.7166 GB, free: 95.08 MB / 490.8 MB 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.01079/1.011, allocations: 12.96 MB / 0.7292 GB, free: 81.92 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008489/1.019, allocations: 8.342 MB / 0.7374 GB, free: 73.52 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.019, allocations: 4.438 kB / 0.7374 GB, free: 73.52 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003646/1.023, allocations: 3.882 MB / 0.7412 GB, free: 69.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/1.026, allocations: 1.126 MB / 0.7423 GB, free: 68.52 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06997/1.096, allocations: 63.73 MB / 0.8045 GB, free: 1.855 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005884/1.102, allocations: 6.586 MB / 0.8109 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.004431/1.106, allocations: 2.317 MB / 0.8132 GB, free: 8.887 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003971/1.11, allocations: 3.859 MB / 0.817 GB, free: 5.023 MB / 0.4949 GB Notification: Performance of SimCode: time 1.593e-06/1.11, allocations: 0 / 0.817 GB, free: 5.023 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3291/1.439, allocations: 151.8 MB / 0.9652 GB, free: 45.73 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/13.36, allocations: 3.984 kB / 0.9652 GB, free: 45.72 MB / 0.4949 GB " [Timeout remaining time 646] (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/jenkins/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/jenkins/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: 15.249490368179977]