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.IMC_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.0009395/0.0009395, allocations: 76.08 kB / 20.67 MB, free: 3.895 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.0008108/0.0008108, allocations: 153.1 kB / 23.93 MB, free: 0.6328 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.8551/0.8551, allocations: 173.3 MB / 200.4 MB, free: 9.453 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.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 318.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.161e-05, allocations: 6.281 kB / 318.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0151/0.01511, allocations: 21.34 MB / 339.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.02684, allocations: 7.084 MB / 346.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.02965, allocations: 222.9 kB / 347.1 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008912/0.03856, allocations: 8.683 MB / 355.8 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006778/0.04534, allocations: 3.017 MB / 358.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.04855, allocations: 1.709 MB / 360.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.05893, allocations: 11.18 MB / 371.7 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01574/0.07467, allocations: 14.2 MB / 385.9 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008735/0.08341, allocations: 8.616 MB / 394.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004997/0.0884, allocations: 5.45 MB / 400 MB, free: 4.488 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.08963, allocations: 1.672 MB / 401.7 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.09207, allocations: 2.038 MB / 403.7 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.0936, allocations: 3.215 MB / 406.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00387/0.09747, allocations: 4.074 MB / 411 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01743/0.1149, allocations: 22.69 MB / 433.7 MB, free: 2.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1149, allocations: 4 kB / 433.7 MB, free: 2.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1149, allocations: 0 / 433.7 MB, free: 2.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004256/0.1153, allocations: 0 / 433.7 MB, free: 2.711 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.01893/0.1343, allocations: 12.76 MB / 446.4 MB, free: 5.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1343, allocations: 8.922 kB / 446.4 MB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001661/0.136, allocations: 1.556 MB / 448 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2862/0.4221, allocations: 6.253 MB / 454.2 MB, free: 106.4 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.4337, allocations: 6.997 MB / 461.2 MB, free: 103.7 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.434, allocations: 0.696 MB / 461.9 MB, free: 103.3 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/0.4362, allocations: 0.9228 MB / 462.9 MB, free: 103.1 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.456, allocations: 15.89 MB / 478.8 MB, free: 88.7 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/0.4561, allocations: 11.89 kB / 478.8 MB, free: 88.68 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006449/0.4567, allocations: 391.6 kB / 479.1 MB, free: 88.31 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002851/0.457, allocations: 0.5586 MB / 479.7 MB, free: 87.75 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.4722, allocations: 14.7 MB / 494.4 MB, free: 73.02 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03913/0.5114, allocations: 45.63 MB / 0.5274 GB, free: 27.11 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008324/0.5197, allocations: 9.162 MB / 0.5363 GB, free: 19.03 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.522, allocations: 2.921 MB / 0.5392 GB, free: 16.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.5222, allocations: 79.02 kB / 0.5393 GB, free: 16.03 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.5222, allocations: 81.67 kB / 0.5393 GB, free: 15.94 MB / 410.8 MB Notification: Performance of pre-optimization done (n=398): time 5.451e-06/0.5222, allocations: 0 / 0.5393 GB, free: 15.94 MB / 410.8 MB Notification: Performance of matching and sorting (n=404): time 0.02025/0.5424, allocations: 17.05 MB / 0.556 GB, free: 15.03 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.5425, allocations: 106.5 kB / 0.5561 GB, free: 14.91 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003829/0.5463, allocations: 3.8 MB / 0.5598 GB, free: 11.11 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.5465, allocations: 89.7 kB / 0.5599 GB, free: 11.02 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.5484, allocations: 4.109 MB / 0.5639 GB, free: 6.898 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007569/0.5492, allocations: 1.424 MB / 0.5653 GB, free: 5.492 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.5503, allocations: 1.129 MB / 0.5664 GB, free: 4.352 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.5504, allocations: 305.1 kB / 0.5667 GB, free: 4.051 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/0.5531, allocations: 2.787 MB / 0.5694 GB, free: 1.254 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003923/0.557, allocations: 4.97 MB / 0.5742 GB, free: 11.28 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006891/0.5639, allocations: 8.302 MB / 0.5824 GB, free: 1.98 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.493e-05/0.5639, allocations: 20 kB / 0.5824 GB, free: 1.961 MB / 442.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01027/0.5742, allocations: 9.043 MB / 0.5912 GB, free: 8.895 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.5743, allocations: 36.03 kB / 0.5912 GB, free: 8.859 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.59e-05/0.5743, allocations: 75.94 kB / 0.5913 GB, free: 8.785 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.5764, allocations: 1.189 MB / 0.5925 GB, free: 7.594 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.5788, allocations: 1.318 MB / 0.5938 GB, free: 6.273 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009544/0.5883, allocations: 9.499 MB / 0.603 GB, free: 12.66 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.5909, allocations: 327.6 kB / 0.6034 GB, free: 12.34 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/0.5912, allocations: 284 kB / 0.6036 GB, free: 12.06 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006076/0.5972, allocations: 3.708 MB / 0.6072 GB, free: 8.336 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008542/0.5981, allocations: 421.3 kB / 0.6076 GB, free: 7.922 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007794/0.6059, allocations: 6.623 MB / 0.6141 GB, free: 1.266 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.234/0.8399, allocations: 5.53 MB / 0.6195 GB, free: 152.1 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.8399, allocations: 11.75 kB / 0.6195 GB, free: 152.1 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.8399, allocations: 22.69 kB / 0.6195 GB, free: 152.1 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.8552, allocations: 14.98 MB / 0.6342 GB, free: 146 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.8552, allocations: 10.78 kB / 0.6342 GB, free: 146 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.8566, allocations: 0.7175 MB / 0.6349 GB, free: 145.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.8582, allocations: 1.075 MB / 0.6359 GB, free: 145.7 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.8583, allocations: 90.78 kB / 0.636 GB, free: 145.7 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006685/0.865, allocations: 8.46 MB / 0.6443 GB, free: 140.2 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.865, allocations: 11.94 kB / 0.6443 GB, free: 140.2 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008209/0.8732, allocations: 9.772 MB / 0.6538 GB, free: 131.9 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/0.875, allocations: 0.9184 MB / 0.6547 GB, free: 131.3 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/0.8753, allocations: 83.81 kB / 0.6548 GB, free: 131.2 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000995/0.8763, allocations: 200.9 kB / 0.655 GB, free: 131.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004169/0.8767, allocations: 301.3 kB / 0.6553 GB, free: 130.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.8768, allocations: 122.4 kB / 0.6554 GB, free: 130.8 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0023/0.8791, allocations: 2.483 MB / 0.6578 GB, free: 128.7 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8791, allocations: 0 / 0.6578 GB, free: 128.7 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0032/0.8823, allocations: 1.605 MB / 0.6594 GB, free: 127.1 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (389): * Single equations (assignments): 387 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008137/0.8905, allocations: 10.52 MB / 0.6697 GB, free: 116.7 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.006423/0.8969, allocations: 6.832 MB / 0.6763 GB, free: 109.8 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8969, allocations: 4 kB / 0.6763 GB, free: 109.8 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002884/0.8998, allocations: 3.154 MB / 0.6794 GB, free: 106.7 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.9022, allocations: 0.9786 MB / 0.6804 GB, free: 105.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05928/0.9615, allocations: 54.29 MB / 0.7334 GB, free: 48.95 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004292/0.9658, allocations: 5.737 MB / 0.739 GB, free: 43.16 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002838/0.9687, allocations: 1.912 MB / 0.7409 GB, free: 41.24 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/0.9711, allocations: 3.304 MB / 0.7441 GB, free: 37.94 MB / 474.8 MB Notification: Performance of SimCode: time 1.573e-06/0.9711, allocations: 7.938 kB / 0.7441 GB, free: 37.93 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2769/1.248, allocations: 129.8 MB / 0.8709 GB, free: 102.6 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.54, allocations: 12 kB / 0.8709 GB, free: 102.6 MB / 490.8 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_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_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.614573097787797]