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.001878/0.001878, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002019/0.002019, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001523/0.001523, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1105, allocations: 53.33 MB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2497/0.3602, allocations: 27.12 MB / 453.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.021/0.3812, allocations: 8.171 MB / 461.6 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007223/0.3884, allocations: 236.9 kB / 461.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02421/0.4126, allocations: 9.476 MB / 471.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.4259, allocations: 3.378 MB / 474.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006581/0.4325, allocations: 1.83 MB / 476.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.019/0.4515, allocations: 12.24 MB / 488.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0367/0.4882, allocations: 18.65 MB / 0.4956 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.5001, allocations: 6.589 MB / 0.502 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/0.5124, allocations: 7.277 MB / 0.5091 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005027/0.5174, allocations: 1.84 MB / 0.5109 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008147/0.5256, allocations: 2.226 MB / 0.5131 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006129/0.5317, allocations: 3.628 MB / 0.5166 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0146/0.5463, allocations: 6.926 MB / 0.5234 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03128/0.5776, allocations: 24.82 MB / 0.5476 GB, free: 10.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5776, allocations: 0 / 0.5476 GB, free: 10.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5776, allocations: 4 kB / 0.5476 GB, free: 10.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006064/0.5782, allocations: 4 kB / 0.5476 GB, free: 10.18 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.04498/0.6232, allocations: 14.76 MB / 0.562 GB, free: 11.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6232, allocations: 8.031 kB / 0.562 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006204/0.6294, allocations: 1.792 MB / 0.5638 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04936/0.6788, allocations: 8.432 MB / 0.572 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.019/0.6978, allocations: 7.697 MB / 0.5795 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/0.6988, allocations: 0.8029 MB / 0.5803 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005999/0.7048, allocations: 1.062 MB / 0.5814 GB, free: 7.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05288/0.7577, allocations: 18.34 MB / 0.5993 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005651/0.7583, allocations: 15.95 kB / 0.5993 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004243/0.7625, allocations: 448 kB / 0.5997 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009426/0.7635, allocations: 0.6711 MB / 0.6004 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04533/0.8088, allocations: 17.58 MB / 0.6175 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5163/1.325, allocations: 59.39 MB / 0.6755 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02624/1.351, allocations: 36.97 MB / 0.7116 GB, free: 73.07 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005859/1.357, allocations: 3.755 MB / 0.7153 GB, free: 71.09 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/1.358, allocations: 307 kB / 0.7156 GB, free: 70.85 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/1.358, allocations: 92.66 kB / 0.7157 GB, free: 70.77 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 6.523e-06/1.358, allocations: 0 / 0.7157 GB, free: 70.77 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04378/1.402, allocations: 21.61 MB / 0.7368 GB, free: 51.97 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/1.402, allocations: 103.5 kB / 0.7369 GB, free: 51.86 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005578/1.407, allocations: 4.186 MB / 0.741 GB, free: 47.7 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009835/1.408, allocations: 105.7 kB / 0.7411 GB, free: 47.59 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002353/1.41, allocations: 4.678 MB / 0.7456 GB, free: 43.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001919/1.412, allocations: 1.86 MB / 0.7475 GB, free: 41.66 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0018/1.414, allocations: 1.375 MB / 0.7488 GB, free: 40.28 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.218e-05/1.414, allocations: 305.1 kB / 0.7491 GB, free: 39.98 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/1.419, allocations: 3.449 MB / 0.7525 GB, free: 36.52 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005204/1.424, allocations: 5.892 MB / 0.7582 GB, free: 29.54 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.434, allocations: 10.04 MB / 0.768 GB, free: 18.34 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.802e-05/1.434, allocations: 28 kB / 0.768 GB, free: 18.31 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01571/1.45, allocations: 10.96 MB / 0.7787 GB, free: 7.266 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/1.45, allocations: 40.62 kB / 0.7788 GB, free: 7.227 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.994e-05/1.45, allocations: 76 kB / 0.7789 GB, free: 7.152 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003474/1.453, allocations: 1.446 MB / 0.7803 GB, free: 5.703 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005295/1.459, allocations: 1.618 MB / 0.7818 GB, free: 4.082 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/1.476, allocations: 11.49 MB / 0.7931 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006249/1.482, allocations: 411.4 kB / 0.7935 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/1.484, allocations: 339.9 kB / 0.7938 GB, free: 7.727 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.009159/1.493, allocations: 4.165 MB / 0.7978 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.495, allocations: 0.4891 MB / 0.7983 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/1.513, allocations: 8.437 MB / 0.8066 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01385/1.527, allocations: 7.072 MB / 0.8135 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/1.527, allocations: 8 kB / 0.8135 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/1.527, allocations: 27.89 kB / 0.8135 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04375/1.57, allocations: 18.77 MB / 0.8318 GB, free: 472 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/1.57, allocations: 0 / 0.8318 GB, free: 472 kB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2313/1.802, allocations: 0.9451 MB / 0.8328 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003918/1.806, allocations: 1.301 MB / 0.834 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009475/1.807, allocations: 120.7 kB / 0.8341 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/1.821, allocations: 10.18 MB / 0.8441 GB, free: 179.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.821, allocations: 5.688 kB / 0.8441 GB, free: 179.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/1.842, allocations: 12.29 MB / 0.8561 GB, free: 174.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003002/1.845, allocations: 1.18 MB / 0.8572 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.846, allocations: 94.92 kB / 0.8573 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/1.849, allocations: 269 kB / 0.8576 GB, free: 173.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000881/1.85, allocations: 361.8 kB / 0.8579 GB, free: 173.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/1.85, allocations: 154.1 kB / 0.8581 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004282/1.854, allocations: 2.82 MB / 0.8608 GB, free: 172.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9.1e-08/1.854, allocations: 0 / 0.8608 GB, free: 172.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008699/1.863, allocations: 1.934 MB / 0.8627 GB, free: 172.2 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.01792/1.881, allocations: 13.06 MB / 0.8755 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01301/1.894, allocations: 8.394 MB / 0.8837 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.894, allocations: 0.7656 kB / 0.8837 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006867/1.901, allocations: 3.905 MB / 0.8875 GB, free: 158.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006896/1.908, allocations: 1.133 MB / 0.8886 GB, free: 157.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09933/2.007, allocations: 63.97 MB / 0.9511 GB, free: 93.79 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007565/2.015, allocations: 7.014 MB / 0.9579 GB, free: 86.73 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005113/2.02, allocations: 2.317 MB / 0.9602 GB, free: 84.41 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005102/2.025, allocations: 3.895 MB / 0.964 GB, free: 80.51 MB / 0.5607 GB Notification: Performance of SimCode: time 1.142e-06/2.025, allocations: 0 / 0.964 GB, free: 80.51 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4503/2.475, allocations: 150.7 MB / 1.111 GB, free: 140 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.84/24.32, allocations: 9.016 kB / 1.111 GB, free: 140 MB / 0.5607 GB " [Timeout remaining time 636] (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: 27.039235837990418]