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.001035/0.001035, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005709/0.005709, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.905/0.905, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.121e-05, allocations: 2.281 kB / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1716/0.1716, allocations: 23.27 MB / 321.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01752/0.1891, allocations: 7.718 MB / 329.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005257/0.1944, allocations: 202.2 kB / 329.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.2061, allocations: 9.251 MB / 338.9 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008472/0.2146, allocations: 3.482 MB / 342.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.2176, allocations: 1.834 MB / 344.2 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.2297, allocations: 12.82 MB / 357.1 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01935/0.2491, allocations: 15.92 MB / 373 MB, free: 3.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01214/0.2612, allocations: 9.809 MB / 382.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009026/0.2702, allocations: 6.374 MB / 389.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003527/0.2738, allocations: 1.844 MB / 391 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.2775, allocations: 2.222 MB / 393.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.2796, allocations: 3.74 MB / 397 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005298/0.2849, allocations: 4.682 MB / 401.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01883/0.3037, allocations: 25.13 MB / 426.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3037, allocations: 3.938 kB / 426.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3037, allocations: 4 kB / 426.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004685/0.3042, allocations: 0 / 426.8 MB, free: 14.06 MB / 394.7 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.02539/0.3296, allocations: 14.71 MB / 441.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.3296, allocations: 15.92 kB / 441.5 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002653/0.3323, allocations: 1.813 MB / 443.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02599/0.3583, allocations: 9.544 MB / 452.9 MB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2994/0.6577, allocations: 7.023 MB / 459.9 MB, free: 105.2 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005238/0.6582, allocations: 0.8162 MB / 460.7 MB, free: 104.9 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003495/0.6617, allocations: 1.073 MB / 461.8 MB, free: 104.5 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03059/0.6923, allocations: 18.96 MB / 480.7 MB, free: 96.87 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.6925, allocations: 16.53 kB / 480.8 MB, free: 96.86 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008465/0.6933, allocations: 459.7 kB / 481.2 MB, free: 96.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006753/0.694, allocations: 0.7006 MB / 481.9 MB, free: 96.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.7171, allocations: 18.11 MB / 0.4883 GB, free: 84.44 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06043/0.7775, allocations: 53.02 MB / 0.5401 GB, free: 31.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.7906, allocations: 14.59 MB / 0.5543 GB, free: 19.54 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003449/0.7941, allocations: 3.88 MB / 0.5581 GB, free: 15.64 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/0.8062, allocations: 11.17 MB / 0.569 GB, free: 4.699 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.8063, allocations: 77.52 kB / 0.5691 GB, free: 4.613 MB / 410.8 MB Notification: Performance of pre-optimization done (n=385): time 5.651e-06/0.8063, allocations: 0 / 0.5691 GB, free: 4.613 MB / 410.8 MB Notification: Performance of matching and sorting (n=391): time 0.02726/0.8335, allocations: 19.07 MB / 0.5877 GB, free: 1.945 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.8336, allocations: 94.45 kB / 0.5878 GB, free: 1.84 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005687/0.8393, allocations: 4.441 MB / 0.5921 GB, free: 13.46 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.8396, allocations: 89.7 kB / 0.5922 GB, free: 13.37 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002405/0.842, allocations: 4.981 MB / 0.5971 GB, free: 8.379 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008737/0.8429, allocations: 1.4 MB / 0.5985 GB, free: 6.996 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.8442, allocations: 1.263 MB / 0.5997 GB, free: 5.719 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.8443, allocations: 301.1 kB / 0.6 GB, free: 5.422 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/0.8474, allocations: 3.104 MB / 0.603 GB, free: 2.312 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004425/0.8518, allocations: 5.749 MB / 0.6086 GB, free: 11.33 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008358/0.8601, allocations: 9.419 MB / 0.6178 GB, free: 0.6758 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-05/0.8602, allocations: 28 kB / 0.6178 GB, free: 0.6484 MB / 458.8 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.1673/1.027, allocations: 10.2 MB / 0.6278 GB, free: 135.1 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/1.028, allocations: 41.84 kB / 0.6279 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.204e-05/1.028, allocations: 88.22 kB / 0.6279 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/1.03, allocations: 1.374 MB / 0.6293 GB, free: 134.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/1.032, allocations: 1.46 MB / 0.6307 GB, free: 134.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/1.043, allocations: 10.95 MB / 0.6414 GB, free: 129.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/1.045, allocations: 404.4 kB / 0.6418 GB, free: 129 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/1.046, allocations: 326.5 kB / 0.6421 GB, free: 129 MB / 458.8 MB 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.005359/1.051, allocations: 4.173 MB / 0.6462 GB, free: 127 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000892/1.052, allocations: 468.8 kB / 0.6466 GB, free: 127 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00736/1.059, allocations: 7.268 MB / 0.6537 GB, free: 124.1 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005282/1.064, allocations: 5.961 MB / 0.6595 GB, free: 121.8 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.064, allocations: 11.47 kB / 0.6595 GB, free: 121.8 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/1.064, allocations: 23.06 kB / 0.6596 GB, free: 121.8 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.079, allocations: 15.51 MB / 0.6747 GB, free: 111.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.079, allocations: 10.89 kB / 0.6747 GB, free: 111.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.08, allocations: 0.721 MB / 0.6754 GB, free: 110.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/1.082, allocations: 1.231 MB / 0.6766 GB, free: 109.7 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/1.082, allocations: 86.33 kB / 0.6767 GB, free: 109.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007502/1.09, allocations: 9.704 MB / 0.6862 GB, free: 100.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.09, allocations: 0 / 0.6862 GB, free: 100.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009151/1.099, allocations: 10.46 MB / 0.6964 GB, free: 90 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.101, allocations: 0.9987 MB / 0.6974 GB, free: 89 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/1.101, allocations: 72.88 kB / 0.6975 GB, free: 88.93 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.102, allocations: 251.8 kB / 0.6977 GB, free: 88.68 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/1.102, allocations: 286.7 kB / 0.698 GB, free: 88.41 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.103, allocations: 116 kB / 0.6981 GB, free: 88.29 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002322/1.105, allocations: 2.858 MB / 0.7009 GB, free: 85.43 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.61e-07/1.105, allocations: 0 / 0.7009 GB, free: 85.43 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.003647/1.108, allocations: 1.828 MB / 0.7027 GB, free: 83.61 MB / 458.8 MB 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.008481/1.117, allocations: 11.18 MB / 0.7136 GB, free: 72.37 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007251/1.124, allocations: 7.538 MB / 0.7209 GB, free: 64.82 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.124, allocations: 6 kB / 0.7209 GB, free: 64.82 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003316/1.128, allocations: 3.356 MB / 0.7242 GB, free: 61.45 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.131, allocations: 1.087 MB / 0.7253 GB, free: 60.39 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06817/1.199, allocations: 61.57 MB / 0.7854 GB, free: 11.81 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006266/1.205, allocations: 6.622 MB / 0.7919 GB, free: 5.129 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.004521/1.21, allocations: 2.24 MB / 0.7941 GB, free: 2.883 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1569/1.367, allocations: 3.884 MB / 0.7978 GB, free: 150.3 MB / 474.8 MB Notification: Performance of SimCode: time 1.243e-06/1.367, allocations: 0 / 0.7978 GB, free: 150.3 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/1.491, allocations: 142.9 MB / 0.9374 GB, free: 33.83 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.99, allocations: 7.969 kB / 0.9374 GB, free: 33.82 MB / 474.8 MB " [Timeout remaining time 647] (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/jenkins/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/jenkins/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: 14.808361614122987]