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.001257/0.001257, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001194/0.001194, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.891/0.891, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.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 1.573e-06/1.573e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.958e-05, allocations: 2.281 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01682/0.01684, allocations: 23.25 MB / 347.9 MB, free: 8.551 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.03019, allocations: 7.853 MB / 355.7 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005089/0.03528, allocations: 234.8 kB / 355.9 MB, free: 456 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01144/0.04673, allocations: 9.244 MB / 365.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008891/0.05562, allocations: 3.452 MB / 368.6 MB, free: 3.715 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.06014, allocations: 1.817 MB / 370.5 MB, free: 1.902 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01363/0.07376, allocations: 12.75 MB / 383.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02307/0.09683, allocations: 15.89 MB / 399.1 MB, free: 5.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01759/0.1144, allocations: 9.724 MB / 408.8 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.1252, allocations: 6.272 MB / 415.1 MB, free: 4.992 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004764/0.13, allocations: 1.836 MB / 416.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007208/0.1372, allocations: 2.233 MB / 419.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005276/0.1424, allocations: 3.67 MB / 422.8 MB, free: 13.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01115/0.1536, allocations: 4.628 MB / 427.5 MB, free: 8.605 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2198/0.3734, allocations: 25.12 MB / 452.6 MB, free: 46.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.3734, allocations: 0.5 kB / 452.6 MB, free: 46.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3734, allocations: 0 / 452.6 MB, free: 46.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008143/0.3742, allocations: 4.734 kB / 452.6 MB, free: 46.52 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03905/0.4133, allocations: 14.56 MB / 467.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.4133, allocations: 9.5 kB / 467.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005849/0.4192, allocations: 1.784 MB / 468.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02514/0.4443, allocations: 8.451 MB / 477.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.459, allocations: 7.807 MB / 485.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006612/0.4596, allocations: 0.8055 MB / 486 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005419/0.465, allocations: 1.06 MB / 487.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03819/0.5032, allocations: 18.55 MB / 0.4938 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000381/0.5036, allocations: 15.91 kB / 0.4938 GB, free: 24.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00332/0.5069, allocations: 450.5 kB / 0.4942 GB, free: 23.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005071/0.5074, allocations: 0.675 MB / 0.4949 GB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02741/0.5348, allocations: 17.48 MB / 0.5119 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07548/0.6103, allocations: 52.15 MB / 0.5629 GB, free: 1.426 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/0.6249, allocations: 12.66 MB / 0.5752 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004783/0.6297, allocations: 3.73 MB / 0.5789 GB, free: 3.043 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/0.6301, allocations: 124 kB / 0.579 GB, free: 2.918 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/0.6301, allocations: 90.61 kB / 0.5791 GB, free: 2.816 MB / 474.7 MB Notification: Performance of pre-optimization done (n=518): time 7.514e-06/0.6301, allocations: 4 kB / 0.5791 GB, free: 2.812 MB / 474.7 MB Notification: Performance of matching and sorting (n=524): time 0.03309/0.6632, allocations: 21.25 MB / 0.5998 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.6633, allocations: 115.2 kB / 0.5999 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005399/0.6687, allocations: 4.26 MB / 0.6041 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007464/0.6695, allocations: 109.7 kB / 0.6042 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.6716, allocations: 4.66 MB / 0.6088 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001892/0.6735, allocations: 1.837 MB / 0.6106 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/0.675, allocations: 1.355 MB / 0.6119 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.6751, allocations: 305.1 kB / 0.6122 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/0.6788, allocations: 3.43 MB / 0.6155 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00482/0.6836, allocations: 5.895 MB / 0.6213 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.6941, allocations: 10.02 MB / 0.6311 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-05/0.6942, allocations: 24 kB / 0.6311 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01452/0.7087, allocations: 10.9 MB / 0.6417 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.7087, allocations: 36 kB / 0.6418 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/0.7089, allocations: 80 kB / 0.6418 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1686/0.8775, allocations: 1.368 MB / 0.6432 GB, free: 203.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/0.8818, allocations: 1.618 MB / 0.6448 GB, free: 203.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.8928, allocations: 10.98 MB / 0.6555 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004096/0.8969, allocations: 404.7 kB / 0.6559 GB, free: 200.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008538/0.8977, allocations: 342.2 kB / 0.6562 GB, free: 200.4 MB / 0.5261 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.00567/0.9034, allocations: 4.157 MB / 0.6603 GB, free: 198.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008474/0.9043, allocations: 0.4976 MB / 0.6607 GB, free: 198.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008698/0.913, allocations: 8.392 MB / 0.6689 GB, free: 195 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006732/0.9197, allocations: 7.029 MB / 0.6758 GB, free: 191.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.9197, allocations: 12 kB / 0.6758 GB, free: 191.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/0.9197, allocations: 26.34 kB / 0.6758 GB, free: 191.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/0.9408, allocations: 17.83 MB / 0.6932 GB, free: 176.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.9408, allocations: 0 / 0.6932 GB, free: 176.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.9427, allocations: 0.9425 MB / 0.6942 GB, free: 175.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.9446, allocations: 1.237 MB / 0.6954 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003143/0.945, allocations: 114.9 kB / 0.6955 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007809/0.9528, allocations: 9.694 MB / 0.705 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9528, allocations: 15.78 kB / 0.705 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/0.9652, allocations: 12.22 MB / 0.7169 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/0.9673, allocations: 1.122 MB / 0.718 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005038/0.9678, allocations: 109.2 kB / 0.7181 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.9691, allocations: 259.7 kB / 0.7183 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/0.9696, allocations: 376.2 kB / 0.7187 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.9698, allocations: 152 kB / 0.7189 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00261/0.9724, allocations: 2.768 MB / 0.7216 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9724, allocations: 4 kB / 0.7216 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005134/0.9775, allocations: 1.922 MB / 0.7234 GB, free: 146.4 MB / 0.5261 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.01064/0.9882, allocations: 12.99 MB / 0.7361 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008146/0.9963, allocations: 8.371 MB / 0.7443 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.9963, allocations: 0 / 0.7443 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003673/1, allocations: 3.894 MB / 0.7481 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/1.003, allocations: 1.133 MB / 0.7492 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07772/1.081, allocations: 63.65 MB / 0.8114 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005156/1.086, allocations: 6.582 MB / 0.8178 GB, free: 46.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004037/1.09, allocations: 2.318 MB / 0.82 GB, free: 44.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003433/1.094, allocations: 3.898 MB / 0.8239 GB, free: 40.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/1.094, allocations: 0 / 0.8239 GB, free: 40.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3066/1.4, allocations: 152.6 MB / 0.9729 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/12.18, allocations: 8.047 kB / 0.9729 GB, free: 118.7 MB / 0.5261 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/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/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.344252305105329]