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.001371/0.001371, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001509/0.001509, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.502/1.502, allocations: 230.4 MB / 254 MB, free: 15.05 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.001911/0.001911, allocations: 59.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1142, allocations: 53.38 MB / 426.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2392/0.3534, allocations: 27.12 MB / 453.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01985/0.3733, allocations: 8.176 MB / 461.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006025/0.3793, allocations: 241.2 kB / 461.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02184/0.4011, allocations: 9.478 MB / 471.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01263/0.4137, allocations: 3.362 MB / 474.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006184/0.4199, allocations: 1.824 MB / 476.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01806/0.438, allocations: 12.24 MB / 488.8 MB, free: 2.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03531/0.4733, allocations: 18.65 MB / 0.4956 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01313/0.4864, allocations: 6.573 MB / 0.502 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.5, allocations: 7.285 MB / 0.5091 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005343/0.5053, allocations: 1.84 MB / 0.5109 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007732/0.5131, allocations: 2.23 MB / 0.5131 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006309/0.5194, allocations: 3.62 MB / 0.5166 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01552/0.5349, allocations: 6.919 MB / 0.5234 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03516/0.5701, allocations: 24.82 MB / 0.5476 GB, free: 10.03 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5701, allocations: 4 kB / 0.5476 GB, free: 10.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5701, allocations: 0 / 0.5476 GB, free: 10.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007039/0.5708, allocations: 0 / 0.5476 GB, free: 10.02 MB / 462.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.0519/0.6227, allocations: 14.76 MB / 0.562 GB, free: 11.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.6227, allocations: 12.02 kB / 0.5621 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006729/0.6295, allocations: 1.795 MB / 0.5638 GB, free: 9.324 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04997/0.6794, allocations: 8.429 MB / 0.572 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/0.696, allocations: 7.693 MB / 0.5795 GB, free: 9.102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008529/0.6969, allocations: 0.8106 MB / 0.5803 GB, free: 8.289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00418/0.7011, allocations: 1.058 MB / 0.5814 GB, free: 7.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0524/0.7535, allocations: 18.34 MB / 0.5993 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005011/0.754, allocations: 15.88 kB / 0.5993 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004209/0.7582, allocations: 455.9 kB / 0.5997 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008523/0.759, allocations: 0.6711 MB / 0.6004 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04088/0.7999, allocations: 17.59 MB / 0.6176 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4994/1.299, allocations: 59.38 MB / 0.6756 GB, free: 108.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02545/1.325, allocations: 36.98 MB / 0.7117 GB, free: 72.72 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006008/1.331, allocations: 3.744 MB / 0.7153 GB, free: 70.74 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006789/1.331, allocations: 310.7 kB / 0.7156 GB, free: 70.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.9e-05/1.332, allocations: 89.44 kB / 0.7157 GB, free: 70.42 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 7.374e-06/1.332, allocations: 0 / 0.7157 GB, free: 70.42 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05299/1.384, allocations: 21.6 MB / 0.7368 GB, free: 51.72 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/1.385, allocations: 107.5 kB / 0.7369 GB, free: 51.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006793/1.391, allocations: 4.185 MB / 0.741 GB, free: 47.45 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007972/1.392, allocations: 105.7 kB / 0.7411 GB, free: 47.34 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.395, allocations: 4.679 MB / 0.7457 GB, free: 43.24 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001651/1.396, allocations: 1.864 MB / 0.7475 GB, free: 41.4 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003215/1.399, allocations: 1.367 MB / 0.7488 GB, free: 40.02 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/1.399, allocations: 309.1 kB / 0.7491 GB, free: 39.72 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005348/1.405, allocations: 3.453 MB / 0.7525 GB, free: 36.26 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006199/1.411, allocations: 5.892 MB / 0.7582 GB, free: 29.28 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.423, allocations: 10.04 MB / 0.768 GB, free: 18.07 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.794e-05/1.423, allocations: 24 kB / 0.7681 GB, free: 18.05 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01927/1.442, allocations: 10.96 MB / 0.7788 GB, free: 7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/1.442, allocations: 36 kB / 0.7788 GB, free: 6.965 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/1.442, allocations: 80 kB / 0.7789 GB, free: 6.887 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004029/1.446, allocations: 1.445 MB / 0.7803 GB, free: 5.438 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006062/1.452, allocations: 1.615 MB / 0.7819 GB, free: 3.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/1.472, allocations: 11.49 MB / 0.7931 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006256/1.478, allocations: 411.4 kB / 0.7935 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001679/1.48, allocations: 339.9 kB / 0.7938 GB, free: 7.461 MB / 0.5294 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.0105/1.49, allocations: 4.161 MB / 0.7979 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002081/1.493, allocations: 0.493 MB / 0.7984 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02084/1.513, allocations: 8.444 MB / 0.8066 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01576/1.529, allocations: 7.068 MB / 0.8135 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.506e-05/1.529, allocations: 12 kB / 0.8135 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001134/1.529, allocations: 23.91 kB / 0.8135 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0416/1.571, allocations: 18.77 MB / 0.8319 GB, free: 200 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.571, allocations: 0 / 0.8319 GB, free: 200 kB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2453/1.816, allocations: 0.9451 MB / 0.8328 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004228/1.82, allocations: 1.303 MB / 0.8341 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001227/1.822, allocations: 113.4 kB / 0.8342 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/1.837, allocations: 10.19 MB / 0.8441 GB, free: 179 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/1.837, allocations: 4 kB / 0.8441 GB, free: 179 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02149/1.858, allocations: 12.28 MB / 0.8561 GB, free: 174 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003392/1.862, allocations: 1.19 MB / 0.8573 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.863, allocations: 91.75 kB / 0.8574 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/1.866, allocations: 269.2 kB / 0.8576 GB, free: 173.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008412/1.867, allocations: 354.1 kB / 0.858 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/1.867, allocations: 159.3 kB / 0.8581 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004275/1.871, allocations: 2.818 MB / 0.8609 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.11e-07/1.871, allocations: 1.594 kB / 0.8609 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007021/1.879, allocations: 1.934 MB / 0.8628 GB, free: 172.1 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.01766/1.896, allocations: 13.06 MB / 0.8755 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.909, allocations: 8.397 MB / 0.8837 GB, free: 161.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.909, allocations: 0 / 0.8837 GB, free: 161.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006684/1.916, allocations: 3.901 MB / 0.8875 GB, free: 158.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006169/1.922, allocations: 1.128 MB / 0.8886 GB, free: 157.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09104/2.013, allocations: 63.98 MB / 0.9511 GB, free: 93.44 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007099/2.02, allocations: 7.009 MB / 0.9579 GB, free: 86.39 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005585/2.026, allocations: 2.317 MB / 0.9602 GB, free: 84.06 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004962/2.031, allocations: 3.893 MB / 0.964 GB, free: 80.17 MB / 0.5607 GB Notification: Performance of SimCode: time 1.313e-06/2.031, allocations: 0 / 0.964 GB, free: 80.17 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4443/2.475, allocations: 150.7 MB / 1.111 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.05/24.53, allocations: 3.281 kB / 1.111 GB, free: 139.6 MB / 0.5607 GB " [Timeout remaining time 635] (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: 27.162525382009335]