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.001632/0.001632, allocations: 112 kB / 20.43 MB, free: 1.449 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.001977/0.001977, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.476/1.476, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.00152/0.00152, allocations: 47.92 kB / 370.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2826, allocations: 52.19 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03181/0.3144, allocations: 27.14 MB / 449.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01955/0.334, allocations: 8.082 MB / 457.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006907/0.3409, allocations: 234.9 kB / 458.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02277/0.3636, allocations: 9.498 MB / 467.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.3758, allocations: 3.455 MB / 471.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006159/0.3819, allocations: 1.862 MB / 472.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02076/0.4027, allocations: 12.27 MB / 485.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03243/0.4351, allocations: 16.01 MB / 0.4895 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/0.4485, allocations: 6.628 MB / 0.4959 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01336/0.4619, allocations: 7.265 MB / 0.503 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005375/0.4673, allocations: 1.844 MB / 0.5048 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007201/0.4745, allocations: 2.21 MB / 0.507 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006583/0.4811, allocations: 3.62 MB / 0.5105 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01251/0.4936, allocations: 6.923 MB / 0.5173 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4716/0.9652, allocations: 24.79 MB / 0.5415 GB, free: 44.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.9652, allocations: 3.422 kB / 0.5415 GB, free: 44.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.9652, allocations: 0 / 0.5415 GB, free: 44.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007284/0.9659, allocations: 0.8438 kB / 0.5415 GB, free: 44.25 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.04653/1.012, allocations: 14.66 MB / 0.5558 GB, free: 40.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.013, allocations: 10.03 kB / 0.5558 GB, free: 40.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007483/1.02, allocations: 1.791 MB / 0.5576 GB, free: 40.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04483/1.065, allocations: 8.54 MB / 0.5659 GB, free: 37.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01938/1.084, allocations: 7.749 MB / 0.5735 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007646/1.085, allocations: 0.8036 MB / 0.5743 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005195/1.09, allocations: 1.054 MB / 0.5753 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04142/1.132, allocations: 18.3 MB / 0.5932 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003392/1.132, allocations: 15.47 kB / 0.5932 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003453/1.135, allocations: 453.5 kB / 0.5936 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005083/1.136, allocations: 0.675 MB / 0.5943 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03581/1.172, allocations: 17.53 MB / 0.6114 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1171/1.289, allocations: 56.78 MB / 0.6668 GB, free: 4.395 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02483/1.314, allocations: 12.81 MB / 0.6794 GB, free: 9.684 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00672/1.32, allocations: 3.732 MB / 0.683 GB, free: 5.93 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004232/1.321, allocations: 112.2 kB / 0.6831 GB, free: 5.832 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.52e-05/1.321, allocations: 100.8 kB / 0.6832 GB, free: 5.727 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 6.873e-06/1.321, allocations: 4 kB / 0.6832 GB, free: 5.723 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05227/1.373, allocations: 21.39 MB / 0.7041 GB, free: 208 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/1.373, allocations: 103.5 kB / 0.7042 GB, free: 88 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007534/1.381, allocations: 4.179 MB / 0.7083 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/1.382, allocations: 113.7 kB / 0.7084 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003947/1.386, allocations: 4.666 MB / 0.7129 GB, free: 7.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002767/1.389, allocations: 1.867 MB / 0.7148 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002447/1.391, allocations: 1.355 MB / 0.7161 GB, free: 3.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.391, allocations: 301.1 kB / 0.7164 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006258/1.397, allocations: 3.441 MB / 0.7197 GB, free: 140 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008908/1.406, allocations: 5.885 MB / 0.7255 GB, free: 9.195 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/1.422, allocations: 10.01 MB / 0.7353 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/1.423, allocations: 24 kB / 0.7353 GB, free: 14.32 MB / 0.5763 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02379/1.446, allocations: 10.93 MB / 0.746 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.446, allocations: 40 kB / 0.746 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/1.447, allocations: 79.98 kB / 0.7461 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/1.451, allocations: 1.451 MB / 0.7475 GB, free: 2.23 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006883/1.458, allocations: 1.611 MB / 0.7491 GB, free: 0.7266 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2655/1.723, allocations: 11.4 MB / 0.7602 GB, free: 207.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004983/1.728, allocations: 410.7 kB / 0.7606 GB, free: 207.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.73, allocations: 332.8 kB / 0.7609 GB, free: 207.7 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.006397/1.736, allocations: 4.164 MB / 0.765 GB, free: 205.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.737, allocations: 0.4895 MB / 0.7654 GB, free: 205.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/1.75, allocations: 8.442 MB / 0.7737 GB, free: 202.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009891/1.76, allocations: 7.042 MB / 0.7806 GB, free: 199.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/1.76, allocations: 11.34 kB / 0.7806 GB, free: 199.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.646e-05/1.76, allocations: 26.25 kB / 0.7806 GB, free: 199.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02961/1.79, allocations: 18.78 MB / 0.7989 GB, free: 189 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.79, allocations: 7.812 kB / 0.7989 GB, free: 189 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003717/1.793, allocations: 0.9298 MB / 0.7998 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00359/1.797, allocations: 1.305 MB / 0.8011 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007278/1.798, allocations: 107.6 kB / 0.8012 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/1.811, allocations: 10.1 MB / 0.8111 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.811, allocations: 4 kB / 0.8111 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/1.829, allocations: 12.27 MB / 0.8231 GB, free: 165.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/1.832, allocations: 1.131 MB / 0.8242 GB, free: 164.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001655/1.834, allocations: 99.98 kB / 0.8243 GB, free: 164.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00363/1.838, allocations: 275.8 kB / 0.8245 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009696/1.838, allocations: 368.2 kB / 0.8249 GB, free: 163.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004251/1.839, allocations: 144 kB / 0.825 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005667/1.845, allocations: 2.816 MB / 0.8278 GB, free: 160.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/1.845, allocations: 0 / 0.8278 GB, free: 160.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008776/1.853, allocations: 1.937 MB / 0.8297 GB, free: 158.5 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.01996/1.873, allocations: 13.02 MB / 0.8424 GB, free: 145.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01487/1.888, allocations: 8.385 MB / 0.8506 GB, free: 136.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.888, allocations: 0 / 0.8506 GB, free: 136.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007212/1.895, allocations: 3.897 MB / 0.8544 GB, free: 132.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007239/1.903, allocations: 1.126 MB / 0.8555 GB, free: 131.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1204/2.023, allocations: 64.21 MB / 0.9182 GB, free: 64.66 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01174/2.035, allocations: 7.005 MB / 0.925 GB, free: 57.61 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008018/2.043, allocations: 2.313 MB / 0.9273 GB, free: 55.29 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00734/2.05, allocations: 3.865 MB / 0.9311 GB, free: 51.42 MB / 0.5763 GB Notification: Performance of SimCode: time 1.754e-06/2.05, allocations: 0 / 0.9311 GB, free: 51.42 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4629/2.513, allocations: 156.6 MB / 1.084 GB, free: 140.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.39/27.91, allocations: 14.33 kB / 1.084 GB, free: 140.5 MB / 0.5763 GB " [Timeout remaining time 632] (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: 30.654353900001297]