Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 219.8 kB / 24.53 MB, free: 4.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 230.5 MB / 258.2 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_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_trunk_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.001876/0.001876, allocations: 63.91 kB / 378.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2873, allocations: 53.4 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03316/0.3205, allocations: 27.17 MB / 459.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02/0.3405, allocations: 8.203 MB / 467.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006755/0.3473, allocations: 242.8 kB / 467.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02349/0.3707, allocations: 9.5 MB / 477.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01281/0.3836, allocations: 3.446 MB / 480.6 MB, free: 5.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006251/0.3898, allocations: 1.88 MB / 482.4 MB, free: 4.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01789/0.4077, allocations: 12.37 MB / 494.8 MB, free: 7.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03566/0.4434, allocations: 16.03 MB / 0.4989 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.4547, allocations: 6.62 MB / 0.5053 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0134/0.4681, allocations: 7.309 MB / 0.5125 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007055/0.4752, allocations: 1.84 MB / 0.5143 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009613/0.4848, allocations: 2.234 MB / 0.5164 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007164/0.492, allocations: 3.62 MB / 0.52 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01595/0.5079, allocations: 6.923 MB / 0.5267 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3035/0.8114, allocations: 24.82 MB / 0.551 GB, free: 43.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8114, allocations: 2.688 kB / 0.551 GB, free: 43.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.8114, allocations: 0 / 0.551 GB, free: 43.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009864/0.8124, allocations: 0 / 0.551 GB, free: 43.47 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.05192/0.8643, allocations: 14.68 MB / 0.5653 GB, free: 37.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.8644, allocations: 15.66 kB / 0.5653 GB, free: 37.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003405/0.8647, allocations: 332.1 kB / 0.5657 GB, free: 37.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007887/0.8726, allocations: 1.791 MB / 0.5674 GB, free: 36.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04669/0.9193, allocations: 8.432 MB / 0.5756 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01881/0.9381, allocations: 7.773 MB / 0.5832 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/0.9393, allocations: 0.8051 MB / 0.584 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005304/0.9446, allocations: 1.064 MB / 0.5851 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04135/0.9859, allocations: 18.34 MB / 0.603 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000349/0.9863, allocations: 15.89 kB / 0.603 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004336/0.9906, allocations: 451.7 kB / 0.6034 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000585/0.9912, allocations: 0.6711 MB / 0.6041 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03936/1.031, allocations: 17.59 MB / 0.6212 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1222/1.153, allocations: 56.92 MB / 0.6768 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02696/1.18, allocations: 12.83 MB / 0.6894 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007775/1.187, allocations: 3.751 MB / 0.693 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/1.188, allocations: 157.9 kB / 0.6932 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/1.188, allocations: 90.64 kB / 0.6933 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=520): time 9.507e-06/1.188, allocations: 3.172 kB / 0.6933 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=599): time 0.09866/1.287, allocations: 34.09 MB / 0.7266 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.287, allocations: 116.1 kB / 0.7267 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.297, allocations: 4.176 MB / 0.7307 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/1.298, allocations: 121.7 kB / 0.7309 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004181/1.302, allocations: 4.677 MB / 0.7354 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003251/1.306, allocations: 2.125 MB / 0.7375 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005271/1.311, allocations: 1.467 MB / 0.7389 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.311, allocations: 305.1 kB / 0.7392 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007782/1.319, allocations: 3.926 MB / 0.7431 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/1.33, allocations: 6.404 MB / 0.7493 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.307/1.637, allocations: 11.13 MB / 0.7602 GB, free: 203.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.848e-05/1.637, allocations: 23.38 kB / 0.7602 GB, free: 203.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02563/1.663, allocations: 13.12 MB / 0.773 GB, free: 198.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.663, allocations: 40.56 kB / 0.7731 GB, free: 198.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/1.663, allocations: 82.12 kB / 0.7731 GB, free: 198.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007673/1.671, allocations: 2.902 MB / 0.776 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006002/1.677, allocations: 1.627 MB / 0.7776 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03098/1.708, allocations: 23.97 MB / 0.801 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006496/1.714, allocations: 420.2 kB / 0.8014 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.716, allocations: 362.6 kB / 0.8017 GB, free: 180.5 MB / 0.5762 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.009255/1.725, allocations: 4.26 MB / 0.8059 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/1.727, allocations: 0.5124 MB / 0.8064 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02084/1.748, allocations: 10.67 MB / 0.8168 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01547/1.764, allocations: 9.137 MB / 0.8257 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-05/1.764, allocations: 24 kB / 0.8257 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/1.764, allocations: 39.47 kB / 0.8258 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04225/1.806, allocations: 23.11 MB / 0.8484 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/1.806, allocations: 0 / 0.8484 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003767/1.81, allocations: 0.9596 MB / 0.8493 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006585/1.816, allocations: 2.607 MB / 0.8518 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008496/1.817, allocations: 131.9 kB / 0.852 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/1.842, allocations: 20.13 MB / 0.8716 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.842, allocations: 7.938 kB / 0.8716 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02455/1.866, allocations: 15.21 MB / 0.8865 GB, free: 94.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003802/1.87, allocations: 1.28 MB / 0.8877 GB, free: 93.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002128/1.872, allocations: 104 kB / 0.8878 GB, free: 93.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004248/1.876, allocations: 283.8 kB / 0.8881 GB, free: 93.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001603/1.878, allocations: 449.3 kB / 0.8885 GB, free: 92.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008201/1.879, allocations: 172 kB / 0.8887 GB, free: 92.47 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005271/1.884, allocations: 2.826 MB / 0.8915 GB, free: 89.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.884, allocations: 0 / 0.8915 GB, free: 89.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009275/1.893, allocations: 2.139 MB / 0.8935 GB, free: 87.5 MB / 0.5762 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.0237/1.917, allocations: 15.99 MB / 0.9092 GB, free: 71.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01737/1.934, allocations: 10.35 MB / 0.9193 GB, free: 60.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.934, allocations: 4 kB / 0.9193 GB, free: 60.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01051/1.945, allocations: 5.255 MB / 0.9244 GB, free: 55.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007862/1.953, allocations: 1.15 MB / 0.9255 GB, free: 54.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4069/2.36, allocations: 70.6 MB / 0.9945 GB, free: 206.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0155/2.375, allocations: 7.183 MB / 1.001 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007926/2.383, allocations: 2.348 MB / 1.004 GB, free: 204 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008042/2.391, allocations: 3.977 MB / 1.008 GB, free: 200.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.214e-06/2.391, allocations: 0 / 1.008 GB, free: 200.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2326/2.624, allocations: 172 MB / 1.176 GB, free: 34.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.1/26.72, allocations: 11.44 kB / 1.176 GB, free: 34.85 MB / 0.5762 GB " [Timeout remaining time 633] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 30.78000658302335]