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.001727/0.001727, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002124/0.002124, allocations: 203 kB / 23.72 MB, free: 4.391 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.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.00205/0.00205, allocations: 71.89 kB / 377.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.249, allocations: 53.41 MB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02919/0.2782, allocations: 23.2 MB / 454.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.2965, allocations: 7.841 MB / 462.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006003/0.3025, allocations: 238.8 kB / 462.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0229/0.3254, allocations: 8.759 MB / 471.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.3375, allocations: 3.361 MB / 474.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00601/0.3435, allocations: 1.813 MB / 476.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02027/0.3637, allocations: 12.37 MB / 488.8 MB, free: 12.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02876/0.3925, allocations: 15.84 MB / 0.4928 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.4036, allocations: 6.632 MB / 0.4993 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01413/0.4177, allocations: 6.988 MB / 0.5061 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005874/0.4236, allocations: 1.832 MB / 0.5079 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008614/0.4322, allocations: 2.203 MB / 0.51 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006371/0.4386, allocations: 3.601 MB / 0.5135 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01168/0.4503, allocations: 5.366 MB / 0.5188 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4905/0.9408, allocations: 24.89 MB / 0.5431 GB, free: 41.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.9408, allocations: 1.531 kB / 0.5431 GB, free: 41.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.9408, allocations: 0 / 0.5431 GB, free: 41.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008191/0.9416, allocations: 0 / 0.5431 GB, free: 41.79 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.04789/0.9895, allocations: 14.66 MB / 0.5574 GB, free: 37.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.9896, allocations: 18.53 kB / 0.5574 GB, free: 37.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00668/0.9962, allocations: 1.787 MB / 0.5592 GB, free: 37.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04528/1.042, allocations: 8.437 MB / 0.5674 GB, free: 34.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/1.06, allocations: 7.813 MB / 0.575 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007474/1.061, allocations: 0.8049 MB / 0.5758 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005387/1.066, allocations: 1.055 MB / 0.5769 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04126/1.108, allocations: 18.55 MB / 0.595 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003143/1.108, allocations: 19.89 kB / 0.595 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002204/1.11, allocations: 444.7 kB / 0.5954 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00047/1.111, allocations: 0.6744 MB / 0.5961 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03416/1.145, allocations: 17.48 MB / 0.6131 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1046/1.249, allocations: 52.13 MB / 0.664 GB, free: 6.359 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02389/1.273, allocations: 12.65 MB / 0.6764 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006625/1.28, allocations: 3.732 MB / 0.68 GB, free: 8.016 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004978/1.28, allocations: 123.9 kB / 0.6802 GB, free: 7.891 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.516e-05/1.281, allocations: 90.62 kB / 0.6802 GB, free: 7.789 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.156e-06/1.281, allocations: 0 / 0.6802 GB, free: 7.789 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05133/1.332, allocations: 21.27 MB / 0.701 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/1.332, allocations: 103.5 kB / 0.7011 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0069/1.339, allocations: 4.261 MB / 0.7053 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009357/1.34, allocations: 113.7 kB / 0.7054 GB, free: 13.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003985/1.344, allocations: 4.665 MB / 0.7099 GB, free: 9.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002398/1.346, allocations: 1.874 MB / 0.7118 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002452/1.349, allocations: 1.371 MB / 0.7131 GB, free: 5.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.349, allocations: 301.1 kB / 0.7134 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0058/1.355, allocations: 3.434 MB / 0.7168 GB, free: 2.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008047/1.363, allocations: 5.899 MB / 0.7225 GB, free: 11.27 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01565/1.378, allocations: 10.02 MB / 0.7323 GB, free: 420 kB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.371e-05/1.378, allocations: 20 kB / 0.7323 GB, free: 400 kB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02022/1.399, allocations: 10.9 MB / 0.743 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.251e-05/1.399, allocations: 44.05 kB / 0.743 GB, free: 5.852 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/1.399, allocations: 80 kB / 0.7431 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00376/1.403, allocations: 1.372 MB / 0.7444 GB, free: 4.406 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006018/1.409, allocations: 1.616 MB / 0.746 GB, free: 2.898 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/1.427, allocations: 10.98 MB / 0.7567 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005459/1.433, allocations: 395.5 kB / 0.7571 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009317/1.434, allocations: 343.9 kB / 0.7574 GB, free: 7.137 MB / 0.5919 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.007603/1.441, allocations: 4.17 MB / 0.7615 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.442, allocations: 0.4891 MB / 0.762 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2349/1.677, allocations: 8.391 MB / 0.7702 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009866/1.687, allocations: 7.032 MB / 0.777 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/1.687, allocations: 9.219 kB / 0.777 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-05/1.687, allocations: 29.91 kB / 0.7771 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0278/1.715, allocations: 17.83 MB / 0.7945 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.715, allocations: 3.875 kB / 0.7945 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003538/1.719, allocations: 0.9433 MB / 0.7954 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002881/1.721, allocations: 1.233 MB / 0.7966 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000426/1.722, allocations: 115.2 kB / 0.7967 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.734, allocations: 9.705 MB / 0.8062 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.734, allocations: 4 kB / 0.8062 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/1.75, allocations: 12.22 MB / 0.8181 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00305/1.753, allocations: 1.12 MB / 0.8192 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007529/1.754, allocations: 99.17 kB / 0.8193 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.756, allocations: 265.4 kB / 0.8196 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006634/1.757, allocations: 382.3 kB / 0.82 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002774/1.757, allocations: 153.3 kB / 0.8201 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003176/1.761, allocations: 2.77 MB / 0.8228 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.761, allocations: 0 / 0.8228 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005666/1.766, allocations: 1.917 MB / 0.8247 GB, free: 187.4 MB / 0.5919 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.01552/1.782, allocations: 13 MB / 0.8374 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.793, allocations: 8.359 MB / 0.8455 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.793, allocations: 3.188 kB / 0.8455 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005839/1.799, allocations: 3.892 MB / 0.8493 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/1.805, allocations: 1.13 MB / 0.8504 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09005/1.895, allocations: 63.58 MB / 0.9125 GB, free: 94.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00677/1.902, allocations: 6.578 MB / 0.9189 GB, free: 88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00545/1.907, allocations: 2.325 MB / 0.9212 GB, free: 85.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00497/1.912, allocations: 3.893 MB / 0.925 GB, free: 81.78 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/1.912, allocations: 0 / 0.925 GB, free: 81.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4226/2.335, allocations: 153 MB / 1.074 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.75/21.08, allocations: 9.797 kB / 1.074 GB, free: 181.3 MB / 0.5919 GB " [Timeout remaining time 639] (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: 23.757491669151932]