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.001449/0.001449, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001579/0.001579, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.356/1.356, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 55.92 kB / 371.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2488, allocations: 52.18 MB / 423.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02931/0.2781, allocations: 27.13 MB / 450.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.2952, allocations: 8.087 MB / 458.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004923/0.3001, allocations: 234.8 kB / 458.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02142/0.3215, allocations: 9.489 MB / 468.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.3334, allocations: 3.467 MB / 471.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005718/0.3391, allocations: 1.862 MB / 473.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01723/0.3564, allocations: 12.27 MB / 486 MB, free: 15.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02964/0.386, allocations: 16.01 MB / 0.4902 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.3962, allocations: 6.636 MB / 0.4967 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01323/0.4094, allocations: 7.265 MB / 0.5038 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005033/0.4144, allocations: 1.84 MB / 0.5056 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006642/0.4211, allocations: 2.214 MB / 0.5078 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005514/0.4266, allocations: 3.612 MB / 0.5113 GB, free: 10 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.4386, allocations: 6.923 MB / 0.5181 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4398/0.8784, allocations: 24.79 MB / 0.5423 GB, free: 44.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.8784, allocations: 0 / 0.5423 GB, free: 44.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.8784, allocations: 0 / 0.5423 GB, free: 44.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005923/0.879, allocations: 0 / 0.5423 GB, free: 44.27 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.04292/0.9219, allocations: 14.66 MB / 0.5566 GB, free: 40.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.922, allocations: 11.88 kB / 0.5566 GB, free: 40.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003022/0.9223, allocations: 326.8 kB / 0.5569 GB, free: 40.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007001/0.9293, allocations: 1.792 MB / 0.5587 GB, free: 40.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0443/0.9736, allocations: 8.543 MB / 0.567 GB, free: 37.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.9893, allocations: 7.753 MB / 0.5746 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/0.9899, allocations: 0.8022 MB / 0.5754 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004506/0.9944, allocations: 1.057 MB / 0.5764 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0408/1.035, allocations: 18.3 MB / 0.5943 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000335/1.036, allocations: 19.91 kB / 0.5943 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002751/1.038, allocations: 446.9 kB / 0.5947 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004601/1.039, allocations: 0.6745 MB / 0.5954 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03187/1.071, allocations: 17.54 MB / 0.6125 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1058/1.176, allocations: 56.8 MB / 0.668 GB, free: 3.961 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02383/1.2, allocations: 12.8 MB / 0.6805 GB, free: 9.258 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006586/1.207, allocations: 3.742 MB / 0.6841 GB, free: 5.496 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/1.207, allocations: 122 kB / 0.6842 GB, free: 5.391 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.955e-05/1.207, allocations: 90.64 kB / 0.6843 GB, free: 5.289 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=520): time 6.723e-06/1.207, allocations: 3.656 kB / 0.6843 GB, free: 5.289 MB / 0.5138 GB Notification: Performance of matching and sorting (n=599): time 0.08036/1.288, allocations: 34.01 MB / 0.7175 GB, free: 3.184 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.288, allocations: 112.1 kB / 0.7176 GB, free: 3.059 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006676/1.295, allocations: 4.187 MB / 0.7217 GB, free: 14.84 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000981/1.295, allocations: 121.7 kB / 0.7218 GB, free: 14.72 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003369/1.299, allocations: 4.673 MB / 0.7264 GB, free: 10.03 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002694/1.302, allocations: 2.116 MB / 0.7285 GB, free: 7.945 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002421/1.304, allocations: 1.455 MB / 0.7299 GB, free: 6.484 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.304, allocations: 301.1 kB / 0.7302 GB, free: 6.188 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005928/1.31, allocations: 3.923 MB / 0.734 GB, free: 2.262 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00811/1.318, allocations: 6.404 MB / 0.7403 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2437/1.562, allocations: 11.11 MB / 0.7511 GB, free: 210.9 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.841e-05/1.562, allocations: 19.78 kB / 0.7511 GB, free: 210.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02091/1.583, allocations: 13.09 MB / 0.7639 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/1.583, allocations: 41.27 kB / 0.764 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001246/1.583, allocations: 76.41 kB / 0.764 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007141/1.59, allocations: 2.899 MB / 0.7669 GB, free: 206.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005633/1.596, allocations: 1.622 MB / 0.7684 GB, free: 206.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02865/1.624, allocations: 23.96 MB / 0.7918 GB, free: 194.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005595/1.63, allocations: 426.3 kB / 0.7922 GB, free: 194.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008798/1.631, allocations: 355.8 kB / 0.7926 GB, free: 194 MB / 0.5763 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 (846): * Single equations (assignments): 843 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,56,41.8%), (14,56,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005971/1.637, allocations: 4.249 MB / 0.7967 GB, free: 191.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.638, allocations: 0.5178 MB / 0.7972 GB, free: 191.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/1.654, allocations: 10.67 MB / 0.8077 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01331/1.667, allocations: 9.114 MB / 0.8166 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.312e-05/1.667, allocations: 20 kB / 0.8166 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-05/1.667, allocations: 35.88 kB / 0.8166 GB, free: 172.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03351/1.701, allocations: 23.08 MB / 0.8392 GB, free: 149 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/1.701, allocations: 0 / 0.8392 GB, free: 149 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003812/1.705, allocations: 0.9635 MB / 0.8401 GB, free: 148 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006208/1.711, allocations: 2.603 MB / 0.8426 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009513/1.712, allocations: 120 kB / 0.8427 GB, free: 145.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02351/1.735, allocations: 20.14 MB / 0.8624 GB, free: 125 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.735, allocations: 0 / 0.8624 GB, free: 125 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01986/1.755, allocations: 15.18 MB / 0.8772 GB, free: 109.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0036/1.759, allocations: 1.28 MB / 0.8785 GB, free: 108.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.76, allocations: 104 kB / 0.8786 GB, free: 108.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/1.763, allocations: 295.8 kB / 0.8789 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009692/1.764, allocations: 441.3 kB / 0.8793 GB, free: 107.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003404/1.764, allocations: 168 kB / 0.8795 GB, free: 107.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003981/1.768, allocations: 2.815 MB / 0.8822 GB, free: 104.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/1.768, allocations: 0 / 0.8822 GB, free: 104.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007651/1.776, allocations: 2.149 MB / 0.8843 GB, free: 102.4 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vSourceQS.plug_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 (511): * Single equations (assignments): 508 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,50,41.3%), (14,56,37.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01975/1.796, allocations: 15.96 MB / 0.8999 GB, free: 86.24 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01553/1.811, allocations: 10.32 MB / 0.91 GB, free: 75.86 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.811, allocations: 0 / 0.91 GB, free: 75.86 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008708/1.82, allocations: 5.247 MB / 0.9151 GB, free: 70.58 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006046/1.826, allocations: 1.147 MB / 0.9162 GB, free: 69.45 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2959/2.122, allocations: 70.69 MB / 0.9852 GB, free: 213.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006811/2.129, allocations: 7.185 MB / 0.9923 GB, free: 212.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005106/2.134, allocations: 2.354 MB / 0.9946 GB, free: 212.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00502/2.139, allocations: 3.945 MB / 0.9984 GB, free: 212.3 MB / 0.5763 GB Notification: Performance of SimCode: time 9.52e-07/2.139, allocations: 0 / 0.9984 GB, free: 212.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2101/2.349, allocations: 171.6 MB / 1.166 GB, free: 57.93 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.45/25.8, allocations: 18.72 kB / 1.166 GB, free: 57.92 MB / 0.5763 GB " [Timeout remaining time 634] (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/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/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.482953262049705]