Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_1_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_1_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.001645/0.001645, allocations: 43.92 kB / 377.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2724, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02958/0.302, allocations: 23.2 MB / 454.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01768/0.3197, allocations: 7.845 MB / 462.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/0.3245, allocations: 234.8 kB / 462.4 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02263/0.3472, allocations: 8.763 MB / 471.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.012/0.3592, allocations: 3.404 MB / 474.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005998/0.3652, allocations: 1.825 MB / 476.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01874/0.3839, allocations: 12.36 MB / 488.8 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02877/0.4127, allocations: 16.04 MB / 0.493 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.4247, allocations: 6.648 MB / 0.4995 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01228/0.4369, allocations: 7.281 MB / 0.5066 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005613/0.4426, allocations: 1.836 MB / 0.5084 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00754/0.4501, allocations: 2.222 MB / 0.5105 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006177/0.4563, allocations: 3.608 MB / 0.5141 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01053/0.4668, allocations: 5.355 MB / 0.5193 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.501/0.9678, allocations: 24.89 MB / 0.5436 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.9678, allocations: 0.6562 kB / 0.5436 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.9678, allocations: 0 / 0.5436 GB, free: 42.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007577/0.9686, allocations: 0.5 kB / 0.5436 GB, free: 42.48 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.05211/1.021, allocations: 14.67 MB / 0.5579 GB, free: 38.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.021, allocations: 10.25 kB / 0.5579 GB, free: 38.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008566/1.029, allocations: 1.79 MB / 0.5597 GB, free: 38.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04761/1.077, allocations: 8.435 MB / 0.5679 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/1.095, allocations: 7.812 MB / 0.5755 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007891/1.096, allocations: 0.8086 MB / 0.5763 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006195/1.102, allocations: 1.055 MB / 0.5774 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04556/1.147, allocations: 18.55 MB / 0.5955 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004065/1.148, allocations: 15.91 kB / 0.5955 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004587/1.152, allocations: 454.4 kB / 0.5959 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005314/1.153, allocations: 0.6711 MB / 0.5966 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03451/1.187, allocations: 17.48 MB / 0.6136 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1095/1.297, allocations: 52.11 MB / 0.6645 GB, free: 6.684 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02542/1.322, allocations: 12.66 MB / 0.6769 GB, free: 12.11 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006793/1.329, allocations: 3.735 MB / 0.6806 GB, free: 8.355 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/1.33, allocations: 128 kB / 0.6807 GB, free: 8.227 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.948e-05/1.33, allocations: 90.61 kB / 0.6808 GB, free: 8.125 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.606e-06/1.33, allocations: 0 / 0.6808 GB, free: 8.125 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04961/1.379, allocations: 21.26 MB / 0.7015 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/1.379, allocations: 111.1 kB / 0.7016 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006521/1.386, allocations: 4.26 MB / 0.7058 GB, free: 14.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008113/1.387, allocations: 105.7 kB / 0.7059 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003498/1.39, allocations: 4.677 MB / 0.7105 GB, free: 9.523 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00227/1.393, allocations: 1.869 MB / 0.7123 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002227/1.395, allocations: 1.371 MB / 0.7136 GB, free: 6.301 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.395, allocations: 305.1 kB / 0.7139 GB, free: 6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005693/1.401, allocations: 3.434 MB / 0.7173 GB, free: 2.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008292/1.409, allocations: 5.895 MB / 0.723 GB, free: 11.61 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01503/1.424, allocations: 10.02 MB / 0.7328 GB, free: 0.7461 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.365e-05/1.424, allocations: 24 kB / 0.7328 GB, free: 0.7227 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0205/1.445, allocations: 10.9 MB / 0.7435 GB, free: 6.238 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/1.445, allocations: 44.06 kB / 0.7435 GB, free: 6.195 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001577/1.445, allocations: 76 kB / 0.7436 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/1.448, allocations: 1.37 MB / 0.7449 GB, free: 4.75 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006284/1.455, allocations: 1.621 MB / 0.7465 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2735/1.728, allocations: 10.98 MB / 0.7572 GB, free: 203.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/1.734, allocations: 398.4 kB / 0.7576 GB, free: 203.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.735, allocations: 343.5 kB / 0.7579 GB, free: 203.5 MB / 0.5763 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.007047/1.742, allocations: 4.157 MB / 0.762 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.743, allocations: 500 kB / 0.7625 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.756, allocations: 8.399 MB / 0.7707 GB, free: 198.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01037/1.766, allocations: 7.033 MB / 0.7775 GB, free: 195.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/1.766, allocations: 11.44 kB / 0.7776 GB, free: 195.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.733e-05/1.766, allocations: 33.72 kB / 0.7776 GB, free: 195.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/1.797, allocations: 17.83 MB / 0.795 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.797, allocations: 10.3 kB / 0.795 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00348/1.8, allocations: 0.9365 MB / 0.7959 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/1.803, allocations: 1.23 MB / 0.7971 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004105/1.804, allocations: 119.2 kB / 0.7972 GB, free: 182.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/1.815, allocations: 9.697 MB / 0.8067 GB, free: 174.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.816, allocations: 3.938 kB / 0.8067 GB, free: 174.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/1.832, allocations: 12.24 MB / 0.8187 GB, free: 162.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003062/1.835, allocations: 1.12 MB / 0.8198 GB, free: 161.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007539/1.835, allocations: 92 kB / 0.8198 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/1.838, allocations: 267.8 kB / 0.8201 GB, free: 160.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007128/1.838, allocations: 376.2 kB / 0.8205 GB, free: 160.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003067/1.839, allocations: 156 kB / 0.8206 GB, free: 160.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00351/1.842, allocations: 2.764 MB / 0.8233 GB, free: 157.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/1.842, allocations: 3.938 kB / 0.8233 GB, free: 157.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.005577/1.848, allocations: 1.925 MB / 0.8252 GB, free: 155.7 MB / 0.5763 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.01536/1.863, allocations: 12.99 MB / 0.8379 GB, free: 142.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.876, allocations: 8.372 MB / 0.846 GB, free: 134.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.876, allocations: 0 / 0.846 GB, free: 134.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006453/1.882, allocations: 3.896 MB / 0.8499 GB, free: 130.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005699/1.888, allocations: 1.125 MB / 0.851 GB, free: 129.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08942/1.977, allocations: 63.56 MB / 0.913 GB, free: 62.61 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006303/1.984, allocations: 6.594 MB / 0.9195 GB, free: 55.95 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005036/1.989, allocations: 2.317 MB / 0.9217 GB, free: 53.63 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004742/1.994, allocations: 3.889 MB / 0.9255 GB, free: 49.74 MB / 0.5763 GB Notification: Performance of SimCode: time 1.353e-06/1.994, allocations: 0 / 0.9255 GB, free: 49.74 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4506/2.444, allocations: 156.4 MB / 1.078 GB, free: 132.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.63/21.08, allocations: 4.062 kB / 1.078 GB, free: 132.5 MB / 0.5763 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.1.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: 23.664593558991328]