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.001143/0.001143, allocations: 76.08 kB / 20.67 MB, free: 3.887 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.0009801/0.0009801, allocations: 153.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.9024/0.9024, allocations: 173.4 MB / 200.4 MB, free: 9.406 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 2.354e-06/2.354e-06, allocations: 0 / 318.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.575e-05, allocations: 2.281 kB / 318.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01811/0.01814, allocations: 21.35 MB / 339.8 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.03218, allocations: 7.076 MB / 346.9 MB, free: 9.762 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00466/0.03684, allocations: 222.9 kB / 347.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0119/0.04874, allocations: 8.684 MB / 355.8 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009645/0.05838, allocations: 3.014 MB / 358.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004804/0.06319, allocations: 1.719 MB / 360.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01444/0.07763, allocations: 11.18 MB / 371.7 MB, free: 0.875 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0203/0.09792, allocations: 14.2 MB / 385.9 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/0.1114, allocations: 8.616 MB / 394.5 MB, free: 9.902 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008587/0.12, allocations: 5.45 MB / 400 MB, free: 4.441 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003933/0.124, allocations: 1.668 MB / 401.6 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005209/0.1292, allocations: 2.042 MB / 403.7 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003946/0.1331, allocations: 3.215 MB / 406.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008445/0.1416, allocations: 4.078 MB / 411 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02229/0.1638, allocations: 22.69 MB / 433.7 MB, free: 2.664 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.1639, allocations: 0 / 433.7 MB, free: 2.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1639, allocations: 0 / 433.7 MB, free: 2.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000531/0.1644, allocations: 0 / 433.7 MB, free: 2.664 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.0298/0.1942, allocations: 12.75 MB / 446.4 MB, free: 5.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.962e-05/0.1943, allocations: 8.922 kB / 446.4 MB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005686/0.1999, allocations: 1.556 MB / 448 MB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3155/0.5155, allocations: 6.255 MB / 454.2 MB, free: 106.2 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.5265, allocations: 6.998 MB / 461.2 MB, free: 103.5 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/0.5269, allocations: 0.6984 MB / 461.9 MB, free: 103.2 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002896/0.5298, allocations: 0.918 MB / 462.9 MB, free: 102.9 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/0.5544, allocations: 15.89 MB / 478.8 MB, free: 88.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/0.5546, allocations: 15.88 kB / 478.8 MB, free: 88.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009252/0.5555, allocations: 391.5 kB / 479.2 MB, free: 88.21 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002554/0.5558, allocations: 0.5547 MB / 479.7 MB, free: 87.66 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.5745, allocations: 14.71 MB / 494.4 MB, free: 72.93 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0491/0.6236, allocations: 45.62 MB / 0.5274 GB, free: 27.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009591/0.6332, allocations: 9.172 MB / 0.5363 GB, free: 18.93 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.636, allocations: 2.917 MB / 0.5392 GB, free: 16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.6362, allocations: 79.02 kB / 0.5393 GB, free: 15.93 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.6362, allocations: 73.69 kB / 0.5393 GB, free: 15.84 MB / 410.8 MB Notification: Performance of pre-optimization done (n=398): time 6.272e-06/0.6362, allocations: 0 / 0.5393 GB, free: 15.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=404): time 0.02233/0.6586, allocations: 17.05 MB / 0.556 GB, free: 14.94 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.6586, allocations: 98.52 kB / 0.5561 GB, free: 14.83 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/0.6628, allocations: 3.8 MB / 0.5598 GB, free: 11.03 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006645/0.6634, allocations: 93.64 kB / 0.5599 GB, free: 10.93 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002248/0.6657, allocations: 4.113 MB / 0.5639 GB, free: 6.805 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001462/0.6671, allocations: 1.428 MB / 0.5653 GB, free: 5.398 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.6685, allocations: 1.129 MB / 0.5664 GB, free: 4.258 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.6686, allocations: 301.1 kB / 0.5667 GB, free: 3.961 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.6716, allocations: 2.795 MB / 0.5694 GB, free: 1.156 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004943/0.6766, allocations: 4.972 MB / 0.5743 GB, free: 11.18 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00927/0.6858, allocations: 8.298 MB / 0.5824 GB, free: 1.887 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-05/0.6859, allocations: 20 kB / 0.5824 GB, free: 1.867 MB / 442.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01294/0.6988, allocations: 9.042 MB / 0.5912 GB, free: 8.801 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.6989, allocations: 32 kB / 0.5912 GB, free: 8.77 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.514e-05/0.699, allocations: 75.94 kB / 0.5913 GB, free: 8.695 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/0.701, allocations: 1.19 MB / 0.5925 GB, free: 7.504 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/0.7042, allocations: 1.318 MB / 0.5938 GB, free: 6.184 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.7142, allocations: 9.507 MB / 0.603 GB, free: 12.57 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/0.7177, allocations: 327.6 kB / 0.6034 GB, free: 12.25 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008225/0.7185, allocations: 288 kB / 0.6036 GB, free: 11.96 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.005294/0.7238, allocations: 3.705 MB / 0.6073 GB, free: 8.246 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009717/0.7247, allocations: 425.3 kB / 0.6077 GB, free: 7.828 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008367/0.7331, allocations: 6.619 MB / 0.6141 GB, free: 1.176 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1679/0.901, allocations: 5.532 MB / 0.6195 GB, free: 151.9 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.901, allocations: 7.875 kB / 0.6195 GB, free: 151.9 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.9011, allocations: 18.94 kB / 0.6196 GB, free: 151.9 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.9168, allocations: 14.98 MB / 0.6342 GB, free: 145.9 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.9168, allocations: 7.875 kB / 0.6342 GB, free: 145.9 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.9182, allocations: 0.7252 MB / 0.6349 GB, free: 145.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.9198, allocations: 1.07 MB / 0.6359 GB, free: 145.6 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/0.92, allocations: 95.45 kB / 0.636 GB, free: 145.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006783/0.9268, allocations: 8.456 MB / 0.6443 GB, free: 140 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.9268, allocations: 7.938 kB / 0.6443 GB, free: 140 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008894/0.9357, allocations: 9.772 MB / 0.6538 GB, free: 131.7 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/0.9373, allocations: 0.9171 MB / 0.6547 GB, free: 131.1 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003774/0.9377, allocations: 82.94 kB / 0.6548 GB, free: 131 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.9387, allocations: 199.6 kB / 0.655 GB, free: 130.9 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/0.9392, allocations: 301.9 kB / 0.6553 GB, free: 130.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.9393, allocations: 126.4 kB / 0.6554 GB, free: 130.6 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002312/0.9416, allocations: 2.48 MB / 0.6578 GB, free: 128.5 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.9416, allocations: 3.469 kB / 0.6578 GB, free: 128.5 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004233/0.9459, allocations: 1.607 MB / 0.6594 GB, free: 126.9 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.008518/0.9544, allocations: 10.52 MB / 0.6697 GB, free: 116.5 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007327/0.9617, allocations: 6.827 MB / 0.6763 GB, free: 109.7 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9617, allocations: 0 / 0.6763 GB, free: 109.7 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003362/0.9651, allocations: 3.154 MB / 0.6794 GB, free: 106.6 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.968, allocations: 0.9723 MB / 0.6804 GB, free: 105.6 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06751/1.036, allocations: 54.3 MB / 0.7334 GB, free: 48.81 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004436/1.04, allocations: 5.733 MB / 0.739 GB, free: 43.02 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003549/1.043, allocations: 1.912 MB / 0.7409 GB, free: 41.11 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003371/1.047, allocations: 3.304 MB / 0.7441 GB, free: 37.8 MB / 474.8 MB Notification: Performance of SimCode: time 3.427e-06/1.047, allocations: 0 / 0.7441 GB, free: 37.8 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3077/1.355, allocations: 129.9 MB / 0.8709 GB, free: 102.5 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/12.32, allocations: 11.16 kB / 0.8709 GB, free: 102.4 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable imcQS.rotorCage.port_p.reference.gamma in file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable imcQS.rotorCage.port_p.reference.gamma from file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.17449164018035]