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.IMC_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.000849/0.000849, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008538/0.0008538, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.883/0.883, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.958e-06/1.126e-05, allocations: 2.281 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01721/0.01722, allocations: 21.39 MB / 346 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.03026, allocations: 7.189 MB / 353.2 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.03297, allocations: 222.9 kB / 353.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009251/0.04222, allocations: 8.666 MB / 362.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.04856, allocations: 3.033 MB / 365.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.05131, allocations: 1.719 MB / 366.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.06215, allocations: 11.29 MB / 378.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01425/0.0764, allocations: 14.21 MB / 392.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008016/0.08441, allocations: 8.62 MB / 400.9 MB, free: 3.098 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.08877, allocations: 5.458 MB / 406.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.08992, allocations: 1.668 MB / 408.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.09187, allocations: 2.054 MB / 410.1 MB, free: 9.906 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.09363, allocations: 3.215 MB / 413.3 MB, free: 6.684 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002767/0.0964, allocations: 4.082 MB / 417.4 MB, free: 2.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.1103, allocations: 22.71 MB / 440.1 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1103, allocations: 0 / 440.1 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1103, allocations: 4 kB / 440.1 MB, free: 11.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002576/0.1105, allocations: 4 kB / 440.1 MB, free: 11.81 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.3104/0.421, allocations: 12.77 MB / 452.9 MB, free: 101.5 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.421, allocations: 14.06 kB / 452.9 MB, free: 101.5 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00406/0.4251, allocations: 1.555 MB / 454.5 MB, free: 100.9 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.4417, allocations: 6.196 MB / 460.7 MB, free: 99.12 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008895/0.4506, allocations: 7.012 MB / 467.7 MB, free: 92.54 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.4509, allocations: 0.6942 MB / 468.4 MB, free: 91.86 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/0.4521, allocations: 0.9247 MB / 469.3 MB, free: 90.95 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01798/0.47, allocations: 15.93 MB / 485.2 MB, free: 74.95 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.4702, allocations: 15.84 kB / 485.3 MB, free: 74.93 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006684/0.4709, allocations: 391.2 kB / 485.6 MB, free: 74.56 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003212/0.4712, allocations: 0.5547 MB / 486.2 MB, free: 74 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.4863, allocations: 14.74 MB / 0.4892 GB, free: 59.23 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0391/0.5254, allocations: 45.71 MB / 0.5338 GB, free: 13.23 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00879/0.5342, allocations: 9.191 MB / 0.5428 GB, free: 5.094 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.5365, allocations: 2.925 MB / 0.5457 GB, free: 2.172 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.5367, allocations: 103 kB / 0.5458 GB, free: 2.07 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.5367, allocations: 73.69 kB / 0.5458 GB, free: 1.988 MB / 410.8 MB Notification: Performance of pre-optimization done (n=398): time 5.159e-06/0.5367, allocations: 4 kB / 0.5458 GB, free: 1.984 MB / 410.8 MB Notification: Performance of matching and sorting (n=404): time 0.02356/0.5603, allocations: 17.09 MB / 0.5625 GB, free: 1 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.5604, allocations: 90.58 kB / 0.5626 GB, free: 0.8984 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/0.5648, allocations: 3.812 MB / 0.5663 GB, free: 13.09 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.565, allocations: 85.7 kB / 0.5664 GB, free: 13 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001764/0.5668, allocations: 4.11 MB / 0.5704 GB, free: 8.875 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008831/0.5677, allocations: 1.427 MB / 0.5718 GB, free: 7.469 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.5689, allocations: 1.144 MB / 0.573 GB, free: 6.312 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.5689, allocations: 301.1 kB / 0.5732 GB, free: 6.016 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/0.5721, allocations: 2.795 MB / 0.576 GB, free: 3.215 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.5761, allocations: 4.986 MB / 0.5808 GB, free: 13.23 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007186/0.5833, allocations: 8.306 MB / 0.5889 GB, free: 3.922 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-05/0.5833, allocations: 23.94 kB / 0.589 GB, free: 3.898 MB / 458.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01053/0.5938, allocations: 9.077 MB / 0.5978 GB, free: 10.8 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.5939, allocations: 36 kB / 0.5979 GB, free: 10.77 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-05/0.5939, allocations: 71.94 kB / 0.5979 GB, free: 10.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/0.5959, allocations: 1.188 MB / 0.5991 GB, free: 9.508 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/0.5985, allocations: 1.318 MB / 0.6004 GB, free: 8.188 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00956/0.6081, allocations: 9.504 MB / 0.6097 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.6106, allocations: 335.5 kB / 0.61 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/0.6109, allocations: 288 kB / 0.6103 GB, free: 13.96 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004904/0.6158, allocations: 3.705 MB / 0.6139 GB, free: 10.24 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009146/0.6168, allocations: 417.3 kB / 0.6143 GB, free: 9.832 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007306/0.6241, allocations: 6.623 MB / 0.6207 GB, free: 3.176 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1779/0.802, allocations: 5.549 MB / 0.6262 GB, free: 161.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/0.802, allocations: 14 kB / 0.6262 GB, free: 161.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/0.8021, allocations: 24.2 kB / 0.6262 GB, free: 161.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.8174, allocations: 14.99 MB / 0.6408 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.8174, allocations: 3.344 kB / 0.6408 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.8188, allocations: 0.7307 MB / 0.6416 GB, free: 156.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.8204, allocations: 1.072 MB / 0.6426 GB, free: 156.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.8206, allocations: 98.64 kB / 0.6427 GB, free: 156 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006835/0.8274, allocations: 8.465 MB / 0.651 GB, free: 151.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.8274, allocations: 10.94 kB / 0.651 GB, free: 151.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007828/0.8353, allocations: 9.795 MB / 0.6605 GB, free: 143.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.8364, allocations: 0.9199 MB / 0.6614 GB, free: 143.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.8367, allocations: 85.64 kB / 0.6615 GB, free: 143.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009475/0.8376, allocations: 195.4 kB / 0.6617 GB, free: 143.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.838, allocations: 308.6 kB / 0.662 GB, free: 143 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.8381, allocations: 119.5 kB / 0.6621 GB, free: 142.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002024/0.8401, allocations: 2.482 MB / 0.6645 GB, free: 140.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.8401, allocations: 0 / 0.6645 GB, free: 140.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.002959/0.8431, allocations: 1.609 MB / 0.6661 GB, free: 139 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008/0.8511, allocations: 10.54 MB / 0.6764 GB, free: 128.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.005996/0.8571, allocations: 6.846 MB / 0.6831 GB, free: 121.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8571, allocations: 0 / 0.6831 GB, free: 121.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.8598, allocations: 3.158 MB / 0.6862 GB, free: 118.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.862, allocations: 0.981 MB / 0.6871 GB, free: 117.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0508/0.9128, allocations: 54.25 MB / 0.7401 GB, free: 60.98 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003336/0.9162, allocations: 5.745 MB / 0.7457 GB, free: 55.18 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002675/0.9188, allocations: 1.912 MB / 0.7476 GB, free: 53.26 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/0.9211, allocations: 3.332 MB / 0.7508 GB, free: 49.93 MB / 490.8 MB Notification: Performance of SimCode: time 9.92e-07/0.9211, allocations: 0 / 0.7508 GB, free: 49.93 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3196/1.241, allocations: 130.5 MB / 0.8782 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.82, allocations: 9.844 kB / 0.8783 GB, free: 123.2 MB / 0.4949 GB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_IMC_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable imcQS.rotorCage.port_p.reference.gamma in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable imcQS.rotorCage.port_p.reference.gamma from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.626335933804512]