Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001241/0.001241, allocations: 83.69 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.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.001165/0.001165, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9197/0.9197, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_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_1_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 1.623e-06/1.623e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.157e-06/1.078e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01516/0.01517, allocations: 21.4 MB / 346 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008744/0.02392, allocations: 7.185 MB / 353.2 MB, free: 3.219 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.02529, allocations: 222.9 kB / 353.4 MB, free: 3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007386/0.03267, allocations: 8.67 MB / 362.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.03644, allocations: 3.029 MB / 365.1 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.03843, allocations: 1.718 MB / 366.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007319/0.04574, allocations: 11.29 MB / 378.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01229/0.05804, allocations: 14.22 MB / 392.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006771/0.06481, allocations: 8.624 MB / 401 MB, free: 3.238 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00401/0.06882, allocations: 5.458 MB / 406.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.06992, allocations: 1.668 MB / 408.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.07184, allocations: 2.054 MB / 410.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.07339, allocations: 3.218 MB / 413.3 MB, free: 6.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.07605, allocations: 4.074 MB / 417.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.08861, allocations: 22.72 MB / 440.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.08862, allocations: 0 / 440.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.08862, allocations: 0 / 440.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002317/0.08885, allocations: 0 / 440.1 MB, free: 11.96 MB / 410.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.3405/0.4294, allocations: 12.78 MB / 452.9 MB, free: 101.6 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.4294, allocations: 12.09 kB / 452.9 MB, free: 101.6 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003627/0.4331, allocations: 1.546 MB / 454.5 MB, free: 100.9 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/0.4493, allocations: 6.201 MB / 460.7 MB, free: 99.18 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.461, allocations: 7.013 MB / 467.7 MB, free: 92.59 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/0.4613, allocations: 0.7018 MB / 468.4 MB, free: 91.9 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.4634, allocations: 0.921 MB / 469.3 MB, free: 90.99 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/0.4859, allocations: 15.92 MB / 485.2 MB, free: 75 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.4861, allocations: 15.89 kB / 485.3 MB, free: 74.98 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007357/0.4868, allocations: 387.5 kB / 485.6 MB, free: 74.61 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003058/0.4871, allocations: 0.5508 MB / 486.2 MB, free: 74.05 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.504, allocations: 14.74 MB / 0.4892 GB, free: 59.29 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04917/0.5532, allocations: 45.71 MB / 0.5338 GB, free: 13.28 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008932/0.5621, allocations: 9.199 MB / 0.5428 GB, free: 5.141 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.5646, allocations: 2.928 MB / 0.5457 GB, free: 2.219 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.5648, allocations: 99.03 kB / 0.5458 GB, free: 2.121 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.5649, allocations: 73.69 kB / 0.5458 GB, free: 2.039 MB / 410.8 MB Notification: Performance of pre-optimization done (n=398): time 7.434e-06/0.5649, allocations: 0 / 0.5458 GB, free: 2.039 MB / 410.8 MB Notification: Performance of matching and sorting (n=404): time 0.02424/0.5891, allocations: 17.09 MB / 0.5625 GB, free: 1.055 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.5892, allocations: 94.58 kB / 0.5626 GB, free: 0.9492 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.5932, allocations: 3.812 MB / 0.5663 GB, free: 13.14 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.5933, allocations: 85.7 kB / 0.5664 GB, free: 13.05 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002151/0.5955, allocations: 4.113 MB / 0.5704 GB, free: 8.922 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000987/0.5964, allocations: 1.426 MB / 0.5718 GB, free: 7.516 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.5977, allocations: 1.14 MB / 0.5729 GB, free: 6.363 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.5978, allocations: 305.1 kB / 0.5732 GB, free: 6.062 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/0.6006, allocations: 2.799 MB / 0.576 GB, free: 3.258 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/0.6043, allocations: 4.99 MB / 0.5808 GB, free: 13.27 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006924/0.6113, allocations: 8.31 MB / 0.589 GB, free: 3.957 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.984e-05/0.6113, allocations: 20 kB / 0.589 GB, free: 3.938 MB / 458.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.009542/0.6208, allocations: 9.069 MB / 0.5978 GB, free: 10.85 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.6209, allocations: 36 kB / 0.5979 GB, free: 10.81 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-05/0.6209, allocations: 72 kB / 0.5979 GB, free: 10.74 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.6228, allocations: 1.184 MB / 0.5991 GB, free: 9.555 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.6251, allocations: 1.326 MB / 0.6004 GB, free: 8.227 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009412/0.6346, allocations: 9.498 MB / 0.6097 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.637, allocations: 331.5 kB / 0.61 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/0.6373, allocations: 292 kB / 0.6103 GB, free: 14.01 MB / 490.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.004778/0.6421, allocations: 3.708 MB / 0.6139 GB, free: 10.29 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005962/0.6427, allocations: 417.3 kB / 0.6143 GB, free: 9.875 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/0.6499, allocations: 6.622 MB / 0.6207 GB, free: 3.219 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1918/0.8418, allocations: 5.549 MB / 0.6262 GB, free: 161.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.8418, allocations: 9.625 kB / 0.6262 GB, free: 161.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.492e-05/0.8418, allocations: 26.64 kB / 0.6262 GB, free: 161.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.8576, allocations: 14.99 MB / 0.6408 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.8577, allocations: 7.75 kB / 0.6408 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.8591, allocations: 0.7318 MB / 0.6416 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.8606, allocations: 1.075 MB / 0.6426 GB, free: 156.2 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.8608, allocations: 93.66 kB / 0.6427 GB, free: 156.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/0.8675, allocations: 8.461 MB / 0.651 GB, free: 151.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8675, allocations: 11.31 kB / 0.651 GB, free: 151.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008211/0.8757, allocations: 9.802 MB / 0.6605 GB, free: 143.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/0.8772, allocations: 0.9127 MB / 0.6614 GB, free: 143.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.8774, allocations: 79.94 kB / 0.6615 GB, free: 143.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009445/0.8784, allocations: 197.2 kB / 0.6617 GB, free: 143.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/0.8787, allocations: 311.2 kB / 0.662 GB, free: 143 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.8789, allocations: 122.7 kB / 0.6621 GB, free: 142.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002197/0.8811, allocations: 2.482 MB / 0.6645 GB, free: 140.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8811, allocations: 2.625 kB / 0.6645 GB, free: 140.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003314/0.8844, allocations: 1.607 MB / 0.6661 GB, free: 139 MB / 490.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.007969/0.8924, allocations: 10.54 MB / 0.6764 GB, free: 128.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.006452/0.8988, allocations: 6.85 MB / 0.6831 GB, free: 121.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.8988, allocations: 4 kB / 0.6831 GB, free: 121.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002835/0.9017, allocations: 3.15 MB / 0.6862 GB, free: 118.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.9042, allocations: 0.9885 MB / 0.6871 GB, free: 117.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05523/0.9595, allocations: 54.25 MB / 0.7401 GB, free: 61 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003352/0.9628, allocations: 5.737 MB / 0.7457 GB, free: 55.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002765/0.9656, allocations: 1.92 MB / 0.7476 GB, free: 53.28 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00228/0.9679, allocations: 3.324 MB / 0.7508 GB, free: 49.96 MB / 490.8 MB Notification: Performance of SimCode: time 1.483e-06/0.9679, allocations: 0 / 0.7508 GB, free: 49.96 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2943/1.262, allocations: 130.5 MB / 0.8783 GB, free: 123 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/12.05, allocations: 3.984 kB / 0.8783 GB, free: 123 MB / 0.4949 GB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.176488164812326]