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.0008368/0.0008368, allocations: 76.08 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.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.0007639/0.0007639, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8778/0.8778, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 5.45e-06/5.45e-06, allocations: 4 kB / 318.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.645e-05, allocations: 2.281 kB / 318.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02194/0.02197, allocations: 23.18 MB / 341.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.04074, allocations: 7.754 MB / 349.4 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008325/0.04906, allocations: 234.8 kB / 349.6 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01397/0.06303, allocations: 9.246 MB / 358.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01532/0.07836, allocations: 3.429 MB / 362.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004272/0.08263, allocations: 1.82 MB / 364.1 MB, free: 8.504 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.09594, allocations: 12.65 MB / 376.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02483/0.1208, allocations: 15.88 MB / 392.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01526/0.136, allocations: 9.723 MB / 402.4 MB, free: 1.996 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/0.1471, allocations: 6.265 MB / 408.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00575/0.1528, allocations: 1.832 MB / 410.5 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006761/0.1596, allocations: 2.206 MB / 412.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00301/0.1626, allocations: 3.686 MB / 416.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008528/0.1711, allocations: 4.624 MB / 421 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02684/0.1979, allocations: 25.09 MB / 446.1 MB, free: 6.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.198, allocations: 0 / 446.1 MB, free: 6.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.24e-06/0.198, allocations: 4 kB / 446.1 MB, free: 6.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008693/0.1988, allocations: 0 / 446.1 MB, free: 6.195 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.4523/0.6511, allocations: 14.53 MB / 460.6 MB, free: 104.2 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.6512, allocations: 8.922 kB / 460.6 MB, free: 104.2 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002424/0.6536, allocations: 1.786 MB / 462.4 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02227/0.6759, allocations: 8.554 MB / 471 MB, free: 93.96 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01679/0.6927, allocations: 7.788 MB / 478.8 MB, free: 86.59 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008582/0.6935, allocations: 0.8061 MB / 479.6 MB, free: 85.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005667/0.6992, allocations: 1.058 MB / 480.6 MB, free: 84.76 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05136/0.7505, allocations: 18.51 MB / 499.1 MB, free: 66.18 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005376/0.7511, allocations: 19.91 kB / 499.1 MB, free: 66.16 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005999/0.7571, allocations: 446.2 kB / 499.6 MB, free: 65.74 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005559/0.7576, allocations: 0.671 MB / 0.4885 GB, free: 65.07 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03759/0.7952, allocations: 17.44 MB / 0.5056 GB, free: 47.62 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09347/0.8887, allocations: 52.02 MB / 0.5564 GB, free: 11.27 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01704/0.9057, allocations: 12.61 MB / 0.5687 GB, free: 0.6562 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006258/0.912, allocations: 3.733 MB / 0.5723 GB, free: 12.9 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/0.9125, allocations: 96 kB / 0.5724 GB, free: 12.8 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.159e-05/0.9126, allocations: 90.62 kB / 0.5725 GB, free: 12.7 MB / 442.8 MB Notification: Performance of pre-optimization done (n=518): time 9.718e-06/0.9126, allocations: 4 kB / 0.5725 GB, free: 12.7 MB / 442.8 MB Notification: Performance of matching and sorting (n=524): time 0.0403/0.9529, allocations: 21.19 MB / 0.5932 GB, free: 7.426 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.953, allocations: 107.5 kB / 0.5933 GB, free: 7.305 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006139/0.9592, allocations: 4.256 MB / 0.5975 GB, free: 3.02 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00134/0.9605, allocations: 113.7 kB / 0.5976 GB, free: 2.902 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003785/0.9643, allocations: 4.654 MB / 0.6021 GB, free: 14.23 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003307/0.9676, allocations: 1.841 MB / 0.6039 GB, free: 12.38 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002236/0.9698, allocations: 1.344 MB / 0.6052 GB, free: 11.03 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.9699, allocations: 308.9 kB / 0.6055 GB, free: 10.73 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00417/0.9741, allocations: 3.426 MB / 0.6089 GB, free: 7.301 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006573/0.9806, allocations: 5.895 MB / 0.6146 GB, free: 312 kB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/0.993, allocations: 9.988 MB / 0.6244 GB, free: 5.148 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/0.9931, allocations: 20 kB / 0.6244 GB, free: 5.129 MB / 490.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2891/1.282, allocations: 10.87 MB / 0.635 GB, free: 161.4 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.896e-05/1.282, allocations: 38.94 kB / 0.635 GB, free: 161.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/1.282, allocations: 77.56 kB / 0.6351 GB, free: 161.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/1.285, allocations: 1.37 MB / 0.6364 GB, free: 161.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00476/1.289, allocations: 1.612 MB / 0.638 GB, free: 161.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/1.301, allocations: 10.98 MB / 0.6487 GB, free: 155.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004793/1.306, allocations: 402.1 kB / 0.6491 GB, free: 155.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/1.307, allocations: 344.7 kB / 0.6495 GB, free: 155.6 MB / 490.8 MB 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.0062/1.314, allocations: 4.157 MB / 0.6535 GB, free: 153.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009267/1.315, allocations: 495.1 kB / 0.654 GB, free: 153.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009345/1.324, allocations: 8.399 MB / 0.6622 GB, free: 148.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007891/1.332, allocations: 6.999 MB / 0.669 GB, free: 142.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.673e-05/1.332, allocations: 12 kB / 0.669 GB, free: 142.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-05/1.332, allocations: 26.11 kB / 0.6691 GB, free: 142.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02478/1.357, allocations: 17.81 MB / 0.6864 GB, free: 126 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.357, allocations: 7.938 kB / 0.6865 GB, free: 126 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.359, allocations: 0.9362 MB / 0.6874 GB, free: 125.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/1.36, allocations: 1.229 MB / 0.6886 GB, free: 123.8 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003841/1.361, allocations: 112 kB / 0.6887 GB, free: 123.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008292/1.369, allocations: 9.696 MB / 0.6981 GB, free: 114.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.369, allocations: 0 / 0.6981 GB, free: 114.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.381, allocations: 12.19 MB / 0.7101 GB, free: 101.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002683/1.384, allocations: 1.116 MB / 0.7111 GB, free: 100.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009736/1.385, allocations: 99.98 kB / 0.7112 GB, free: 100.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.387, allocations: 267.8 kB / 0.7115 GB, free: 100.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005843/1.387, allocations: 372.2 kB / 0.7118 GB, free: 99.89 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/1.388, allocations: 148 kB / 0.712 GB, free: 99.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003579/1.391, allocations: 2.76 MB / 0.7147 GB, free: 96.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/1.391, allocations: 4 kB / 0.7147 GB, free: 96.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007764/1.399, allocations: 1.924 MB / 0.7166 GB, free: 95.05 MB / 490.8 MB 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.01372/1.413, allocations: 12.95 MB / 0.7292 GB, free: 81.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.009774/1.422, allocations: 8.35 MB / 0.7374 GB, free: 73.48 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.422, allocations: 0 / 0.7374 GB, free: 73.48 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004428/1.427, allocations: 3.883 MB / 0.7412 GB, free: 69.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004783/1.432, allocations: 1.121 MB / 0.7423 GB, free: 68.49 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1/1.532, allocations: 63.74 MB / 0.8045 GB, free: 1.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008801/1.541, allocations: 6.574 MB / 0.8109 GB, free: 11.19 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.005429/1.546, allocations: 2.321 MB / 0.8132 GB, free: 8.859 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006798/1.553, allocations: 3.867 MB / 0.817 GB, free: 4.988 MB / 0.4949 GB Notification: Performance of SimCode: time 1.884e-06/1.553, allocations: 4 kB / 0.817 GB, free: 4.984 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3957/1.948, allocations: 151.8 MB / 0.9652 GB, free: 46 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/14.55, allocations: 6.094 kB / 0.9652 GB, free: 46 MB / 0.4949 GB " [Timeout remaining time 645] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 16.876971539109945]