Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001694/0.001694, allocations: 110.5 kB / 18.45 MB, free: 4.59 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.002072/0.002072, allocations: 217.6 kB / 21.42 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 207.6 MB / 231.8 MB, free: 4.176 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 55.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.131, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03185/0.1629, allocations: 27.2 MB / 418.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02014/0.183, allocations: 8.024 MB / 426.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007454/0.1905, allocations: 202.9 kB / 426.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02357/0.2141, allocations: 9.467 MB / 436.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.227, allocations: 3.405 MB / 439.7 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006715/0.2337, allocations: 1.864 MB / 441.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0195/0.2532, allocations: 12.29 MB / 453.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2917/0.5449, allocations: 18.66 MB / 472.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01406/0.559, allocations: 6.657 MB / 479.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01497/0.5739, allocations: 7.349 MB / 486.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00741/0.5813, allocations: 1.846 MB / 488.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00961/0.591, allocations: 2.219 MB / 490.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007134/0.5981, allocations: 3.682 MB / 494.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01545/0.6135, allocations: 7.004 MB / 0.4896 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03595/0.6495, allocations: 24.83 MB / 0.5138 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.6495, allocations: 0 / 0.5138 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6495, allocations: 4 kB / 0.5138 GB, free: 440 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008078/0.6503, allocations: 0 / 0.5138 GB, free: 440 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05283/0.7031, allocations: 14.92 MB / 0.5284 GB, free: 1.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.7032, allocations: 12.03 kB / 0.5284 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007739/0.7109, allocations: 1.82 MB / 0.5302 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05584/0.7668, allocations: 9.525 MB / 0.5395 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01795/0.7847, allocations: 6.924 MB / 0.5462 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/0.7859, allocations: 0.816 MB / 0.547 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005755/0.7917, allocations: 1.074 MB / 0.5481 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06216/0.8538, allocations: 18.75 MB / 0.5664 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000798/0.8546, allocations: 11.95 kB / 0.5664 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00587/0.8605, allocations: 456.6 kB / 0.5668 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/0.8615, allocations: 0.6988 MB / 0.5675 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04631/0.9078, allocations: 18.22 MB / 0.5853 GB, free: 7.609 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1354/1.043, allocations: 59.51 MB / 0.6434 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2886/1.332, allocations: 46.19 MB / 0.6885 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01098/1.343, allocations: 3.89 MB / 0.6923 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02707/1.37, allocations: 12.37 MB / 0.7044 GB, free: 136 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/1.37, allocations: 77.42 kB / 0.7045 GB, free: 136 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=385): time 4.969e-06/1.37, allocations: 3.938 kB / 0.7045 GB, free: 136 MB / 0.5294 GB Notification: Performance of matching and sorting (n=391): time 0.04417/1.414, allocations: 19.4 MB / 0.7234 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/1.414, allocations: 101.2 kB / 0.7235 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00583/1.42, allocations: 4.343 MB / 0.7278 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006719/1.421, allocations: 85.45 kB / 0.7279 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002214/1.423, allocations: 5.001 MB / 0.7327 GB, free: 123 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001377/1.424, allocations: 1.414 MB / 0.7341 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/1.426, allocations: 1.275 MB / 0.7354 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.198e-05/1.426, allocations: 301.1 kB / 0.7357 GB, free: 121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/1.43, allocations: 3.125 MB / 0.7387 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004939/1.435, allocations: 5.744 MB / 0.7443 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009931/1.445, allocations: 9.439 MB / 0.7535 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.633e-05/1.445, allocations: 28 kB / 0.7536 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01708/1.462, allocations: 10.26 MB / 0.7636 GB, free: 98.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/1.462, allocations: 48.06 kB / 0.7636 GB, free: 98.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.462, allocations: 88 kB / 0.7637 GB, free: 98.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00361/1.466, allocations: 1.443 MB / 0.7651 GB, free: 96.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005403/1.471, allocations: 1.463 MB / 0.7665 GB, free: 95.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.485, allocations: 11.47 MB / 0.7777 GB, free: 83.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005929/1.491, allocations: 399.5 kB / 0.7781 GB, free: 83.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/1.493, allocations: 332 kB / 0.7784 GB, free: 83.15 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007411/1.5, allocations: 4.173 MB / 0.7825 GB, free: 78.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.501, allocations: 473 kB / 0.783 GB, free: 78.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.513, allocations: 7.3 MB / 0.7901 GB, free: 71.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01038/1.523, allocations: 5.999 MB / 0.796 GB, free: 65.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/1.523, allocations: 11.94 kB / 0.796 GB, free: 65.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.878e-05/1.523, allocations: 27.86 kB / 0.796 GB, free: 65.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.55, allocations: 16.29 MB / 0.8119 GB, free: 48.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.55, allocations: 4 kB / 0.8119 GB, free: 48.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002957/1.553, allocations: 0.7256 MB / 0.8126 GB, free: 48.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/1.557, allocations: 1.293 MB / 0.8139 GB, free: 46.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004709/1.557, allocations: 92.47 kB / 0.814 GB, free: 46.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/1.57, allocations: 10.19 MB / 0.8239 GB, free: 36.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.57, allocations: 0 / 0.8239 GB, free: 36.37 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.585, allocations: 10.51 MB / 0.8342 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00316/1.588, allocations: 1.064 MB / 0.8352 GB, free: 24.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/1.59, allocations: 71.98 kB / 0.8353 GB, free: 24.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.593, allocations: 251.8 kB / 0.8355 GB, free: 24.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007655/1.593, allocations: 271.5 kB / 0.8358 GB, free: 24.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/1.594, allocations: 108 kB / 0.8359 GB, free: 24.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004614/1.598, allocations: 2.912 MB / 0.8387 GB, free: 21.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.598, allocations: 4 kB / 0.8387 GB, free: 21.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007875/1.606, allocations: 1.84 MB / 0.8405 GB, free: 19.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.01615/1.622, allocations: 11.23 MB / 0.8515 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01267/1.635, allocations: 7.58 MB / 0.8589 GB, free: 384 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.635, allocations: 0 / 0.8589 GB, free: 384 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.231/1.866, allocations: 3.377 MB / 0.8622 GB, free: 195.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006981/1.873, allocations: 1.102 MB / 0.8633 GB, free: 195.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1139/1.987, allocations: 61.95 MB / 0.9238 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01343/2, allocations: 7.032 MB / 0.9307 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00607/2.006, allocations: 2.252 MB / 0.9329 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006071/2.012, allocations: 3.877 MB / 0.9366 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/2.012, allocations: 3.938 kB / 0.9366 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4628/2.475, allocations: 141.5 MB / 1.075 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.73/23.21, allocations: 4.828 kB / 1.075 GB, free: 169.5 MB / 0.5294 GB " [Timeout remaining time 637] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_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: 26.13201677201141]