Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.00141/0.00141, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001696/0.001696, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IMC_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 51.88 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2206, allocations: 49.15 MB / 396.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02136/0.2419, allocations: 21.43 MB / 417.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0219/0.2638, allocations: 7.087 MB / 424.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006159/0.27, allocations: 190.2 kB / 425.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02482/0.2948, allocations: 8.218 MB / 433.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3054, allocations: 3.016 MB / 436.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005381/0.3108, allocations: 1.72 MB / 438 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0149/0.3257, allocations: 10.98 MB / 449 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0237/0.3494, allocations: 14.24 MB / 463.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008467/0.3579, allocations: 5.939 MB / 469.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009731/0.3676, allocations: 6.147 MB / 475.3 MB, free: 3.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003195/0.3708, allocations: 1.68 MB / 477 MB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004776/0.3756, allocations: 2.031 MB / 479.1 MB, free: 100 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003368/0.379, allocations: 3.227 MB / 482.3 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007372/0.3863, allocations: 4.779 MB / 487.1 MB, free: 8.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02343/0.4098, allocations: 22.52 MB / 0.4976 GB, free: 1.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4098, allocations: 3.844 kB / 0.4976 GB, free: 1.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4098, allocations: 0 / 0.4976 GB, free: 1.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004631/0.4102, allocations: 0 / 0.4976 GB, free: 1.477 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03553/0.4458, allocations: 13.04 MB / 0.5104 GB, free: 4.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4458, allocations: 11.98 kB / 0.5104 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00408/0.4499, allocations: 1.581 MB / 0.5119 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03875/0.4886, allocations: 7.235 MB / 0.519 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/0.5032, allocations: 6.247 MB / 0.5251 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007563/0.504, allocations: 0.7105 MB / 0.5258 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004423/0.5084, allocations: 0.9374 MB / 0.5267 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04095/0.5494, allocations: 16.35 MB / 0.5427 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002136/0.5496, allocations: 7.953 kB / 0.5427 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001532/0.5511, allocations: 396 kB / 0.5431 GB, free: 2.676 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006923/0.5518, allocations: 0.5863 MB / 0.5436 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03245/0.5842, allocations: 15.39 MB / 0.5587 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3658/0.95, allocations: 46.55 MB / 0.6041 GB, free: 103.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/0.9657, allocations: 10.93 MB / 0.6148 GB, free: 98.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003191/0.9689, allocations: 3.078 MB / 0.6178 GB, free: 96.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.9808, allocations: 9.037 MB / 0.6266 GB, free: 87.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.9808, allocations: 68.83 kB / 0.6267 GB, free: 87.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 5.16e-06/0.9808, allocations: 0 / 0.6267 GB, free: 87.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.02583/1.007, allocations: 15.09 MB / 0.6414 GB, free: 72.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.007, allocations: 85.78 kB / 0.6415 GB, free: 72.72 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/1.011, allocations: 3.999 MB / 0.6454 GB, free: 68.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/1.011, allocations: 73.64 kB / 0.6455 GB, free: 68.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/1.012, allocations: 4.408 MB / 0.6498 GB, free: 64.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005407/1.013, allocations: 1.11 MB / 0.6509 GB, free: 63.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/1.014, allocations: 1.104 MB / 0.6519 GB, free: 62.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.021e-05/1.014, allocations: 301.1 kB / 0.6522 GB, free: 62.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/1.017, allocations: 2.544 MB / 0.6547 GB, free: 59.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/1.02, allocations: 4.938 MB / 0.6595 GB, free: 53.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/1.027, allocations: 7.934 MB / 0.6673 GB, free: 44.49 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-05/1.027, allocations: 20 kB / 0.6673 GB, free: 44.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01049/1.037, allocations: 8.599 MB / 0.6757 GB, free: 35.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/1.037, allocations: 36 kB / 0.6757 GB, free: 35.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.028e-05/1.037, allocations: 80.53 kB / 0.6758 GB, free: 35.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/1.04, allocations: 1.213 MB / 0.677 GB, free: 34.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003312/1.043, allocations: 1.224 MB / 0.6782 GB, free: 33.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/1.054, allocations: 9.532 MB / 0.6875 GB, free: 23.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/1.057, allocations: 327.6 kB / 0.6878 GB, free: 23.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/1.058, allocations: 284 kB / 0.6881 GB, free: 23.03 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003998/1.062, allocations: 3.736 MB / 0.6917 GB, free: 19.28 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006289/1.062, allocations: 397.5 kB / 0.6921 GB, free: 18.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007692/1.07, allocations: 5.733 MB / 0.6977 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005909/1.076, allocations: 4.7 MB / 0.7023 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/1.076, allocations: 12 kB / 0.7023 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/1.076, allocations: 19.94 kB / 0.7023 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/1.095, allocations: 13.03 MB / 0.7151 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.095, allocations: 16.33 kB / 0.7151 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/1.097, allocations: 0.5539 MB / 0.7156 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/1.1, allocations: 1.08 MB / 0.7167 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/1.1, allocations: 75.97 kB / 0.7167 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/1.114, allocations: 8.449 MB / 0.725 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.114, allocations: 4 kB / 0.725 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/1.127, allocations: 8.451 MB / 0.7332 GB, free: 8.332 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/1.13, allocations: 0.8252 MB / 0.7341 GB, free: 7.504 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004583/1.13, allocations: 56 kB / 0.7341 GB, free: 7.449 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.132, allocations: 183.8 kB / 0.7343 GB, free: 7.27 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/1.133, allocations: 238.4 kB / 0.7345 GB, free: 7.035 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.133, allocations: 100 kB / 0.7346 GB, free: 6.938 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003882/1.137, allocations: 2.573 MB / 0.7371 GB, free: 4.379 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.31e-07/1.137, allocations: 0 / 0.7371 GB, free: 4.379 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.004626/1.141, allocations: 1.543 MB / 0.7386 GB, free: 2.836 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.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 (282): * Single equations (assignments): 280 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01394/1.155, allocations: 9.142 MB / 0.7476 GB, free: 9.559 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.166, allocations: 6.237 MB / 0.7536 GB, free: 3.297 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/1.166, allocations: 0 / 0.7536 GB, free: 3.297 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005018/1.171, allocations: 2.754 MB / 0.7563 GB, free: 0.5234 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1766/1.348, allocations: 0.9342 MB / 0.7572 GB, free: 175.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.073/1.421, allocations: 52.92 MB / 0.8089 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005167/1.426, allocations: 5.778 MB / 0.8146 GB, free: 136.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00401/1.43, allocations: 1.884 MB / 0.8164 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003463/1.433, allocations: 3.249 MB / 0.8196 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.182e-06/1.433, allocations: 0 / 0.8196 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.036/3.47, allocations: 123.6 MB / 0.9403 GB, free: 7.387 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.91/23.38, allocations: 0 / 0.9403 GB, free: 7.387 MB / 0.5138 GB " [Timeout remaining time 636] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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: 29.614698368124664]