Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_0_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_0_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.00154/0.00154, allocations: 51.91 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03078/0.1576, allocations: 27.09 MB / 444.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2263/0.3839, allocations: 8.049 MB / 452.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005627/0.3895, allocations: 197.9 kB / 453.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02039/0.4099, allocations: 9.475 MB / 462.6 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.4206, allocations: 3.368 MB / 466 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.4258, allocations: 1.809 MB / 467.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01564/0.4415, allocations: 12.16 MB / 480 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04026/0.4817, allocations: 18.65 MB / 498.6 MB, free: 3.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.4944, allocations: 6.473 MB / 0.4932 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01239/0.5068, allocations: 7.249 MB / 0.5003 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005273/0.5121, allocations: 1.84 MB / 0.5021 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007583/0.5197, allocations: 2.205 MB / 0.5043 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006254/0.5259, allocations: 3.623 MB / 0.5078 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01496/0.5409, allocations: 6.918 MB / 0.5146 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03262/0.5735, allocations: 24.79 MB / 0.5388 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.5735, allocations: 4 kB / 0.5388 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5735, allocations: 3.938 kB / 0.5388 GB, free: 14.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006635/0.5742, allocations: 4 kB / 0.5388 GB, free: 14.79 MB / 446.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.04941/0.6236, allocations: 14.73 MB / 0.5532 GB, free: 48 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.6236, allocations: 12.03 kB / 0.5532 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007322/0.631, allocations: 1.789 MB / 0.5549 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04802/0.679, allocations: 8.534 MB / 0.5633 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0222/0.7012, allocations: 7.67 MB / 0.5707 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/0.7022, allocations: 0.8044 MB / 0.5715 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005744/0.708, allocations: 1.064 MB / 0.5726 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04934/0.7573, allocations: 18.29 MB / 0.5904 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005621/0.7579, allocations: 15.94 kB / 0.5904 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0039/0.7618, allocations: 449.6 kB / 0.5909 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008672/0.7626, allocations: 0.671 MB / 0.5915 GB, free: 8.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03998/0.8026, allocations: 17.54 MB / 0.6087 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5/1.303, allocations: 58.22 MB / 0.6655 GB, free: 121.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02453/1.327, allocations: 36.95 MB / 0.7016 GB, free: 88.27 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005537/1.333, allocations: 3.739 MB / 0.7052 GB, free: 86.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/1.333, allocations: 188.3 kB / 0.7054 GB, free: 86.18 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/1.333, allocations: 97.61 kB / 0.7055 GB, free: 86.09 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.005e-06/1.333, allocations: 2.281 kB / 0.7055 GB, free: 86.09 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04092/1.374, allocations: 21.54 MB / 0.7266 GB, free: 74.02 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.374, allocations: 104.6 kB / 0.7267 GB, free: 73.95 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/1.379, allocations: 4.179 MB / 0.7307 GB, free: 71.75 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000707/1.38, allocations: 117 kB / 0.7309 GB, free: 71.65 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001938/1.382, allocations: 4.669 MB / 0.7354 GB, free: 68.19 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/1.383, allocations: 1.86 MB / 0.7372 GB, free: 66.58 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/1.385, allocations: 1.356 MB / 0.7386 GB, free: 65.81 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.173e-05/1.385, allocations: 301.1 kB / 0.7388 GB, free: 65.52 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004214/1.389, allocations: 3.444 MB / 0.7422 GB, free: 63.67 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005148/1.394, allocations: 5.883 MB / 0.7479 GB, free: 56.91 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009592/1.404, allocations: 10.02 MB / 0.7577 GB, free: 45.73 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-05/1.404, allocations: 24 kB / 0.7578 GB, free: 45.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01494/1.419, allocations: 10.92 MB / 0.7684 GB, free: 34.69 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/1.419, allocations: 44.31 kB / 0.7685 GB, free: 34.65 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.419, allocations: 80 kB / 0.7685 GB, free: 34.57 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/1.422, allocations: 1.441 MB / 0.7699 GB, free: 33.12 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005382/1.428, allocations: 1.615 MB / 0.7715 GB, free: 31.51 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1.441, allocations: 11.5 MB / 0.7828 GB, free: 19.87 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/1.446, allocations: 411.5 kB / 0.7831 GB, free: 19.46 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008991/1.447, allocations: 328 kB / 0.7835 GB, free: 19.14 MB / 0.5138 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.005467/1.452, allocations: 4.169 MB / 0.7875 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009637/1.453, allocations: 496.8 kB / 0.788 GB, free: 14.47 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.465, allocations: 8.432 MB / 0.7962 GB, free: 5.934 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009304/1.474, allocations: 7.045 MB / 0.8031 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/1.474, allocations: 15.98 kB / 0.8031 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-05/1.474, allocations: 27.84 kB / 0.8032 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03599/1.51, allocations: 18.73 MB / 0.8214 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.51, allocations: 8.062 kB / 0.8215 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003849/1.514, allocations: 0.9323 MB / 0.8224 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003622/1.518, allocations: 1.305 MB / 0.8236 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006461/1.518, allocations: 112 kB / 0.8237 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/1.533, allocations: 10.19 MB / 0.8337 GB, free: 15.27 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.533, allocations: 4 kB / 0.8337 GB, free: 15.26 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/1.554, allocations: 12.25 MB / 0.8457 GB, free: 2.812 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003812/1.558, allocations: 1.181 MB / 0.8468 GB, free: 1.609 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.559, allocations: 99.88 kB / 0.8469 GB, free: 1.512 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/1.561, allocations: 275.8 kB / 0.8472 GB, free: 1.242 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007219/1.562, allocations: 348.4 kB / 0.8475 GB, free: 0.8984 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003105/1.562, allocations: 148 kB / 0.8476 GB, free: 0.7539 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.2465/1.809, allocations: 2.817 MB / 0.8504 GB, free: 183.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.81e-07/1.809, allocations: 0 / 0.8504 GB, free: 183.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009401/1.818, allocations: 1.933 MB / 0.8523 GB, free: 183.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.02097/1.839, allocations: 13.02 MB / 0.865 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01517/1.855, allocations: 8.386 MB / 0.8732 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/1.855, allocations: 0 / 0.8732 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007026/1.862, allocations: 3.893 MB / 0.877 GB, free: 175.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006026/1.868, allocations: 1.127 MB / 0.8781 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09282/1.96, allocations: 64.04 MB / 0.9406 GB, free: 126.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007907/1.968, allocations: 7.006 MB / 0.9475 GB, free: 119.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005537/1.974, allocations: 2.314 MB / 0.9497 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004935/1.979, allocations: 3.862 MB / 0.9535 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of SimCode: time 1.232e-06/1.979, allocations: 0 / 0.9535 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4108/2.39, allocations: 150.3 MB / 1.1 GB, free: 167.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.73/25.12, allocations: 6.266 kB / 1.1 GB, free: 167.4 MB / 0.5607 GB " [Timeout remaining time 635] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 30.18043875321746]