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.IMS_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.000927/0.000927, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004278/0.004278, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 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 0.8533/0.8533, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 298.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.612e-05, allocations: 2.281 kB / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1664/0.1664, allocations: 23.27 MB / 321.7 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.182, allocations: 7.719 MB / 329.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006895/0.1889, allocations: 201.5 kB / 329.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01219/0.2011, allocations: 9.246 MB / 338.9 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.2122, allocations: 3.483 MB / 342.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0042/0.2164, allocations: 1.831 MB / 344.2 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01342/0.2298, allocations: 12.83 MB / 357.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01924/0.249, allocations: 15.92 MB / 373 MB, free: 3.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01271/0.2618, allocations: 9.809 MB / 382.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008308/0.2701, allocations: 6.381 MB / 389.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002891/0.273, allocations: 1.844 MB / 391 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.2767, allocations: 2.218 MB / 393.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002174/0.2789, allocations: 3.74 MB / 397 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006606/0.2855, allocations: 4.682 MB / 401.6 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02216/0.3077, allocations: 25.13 MB / 426.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3077, allocations: 0 / 426.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3077, allocations: 0 / 426.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006186/0.3083, allocations: 0 / 426.8 MB, free: 14.08 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03129/0.3396, allocations: 14.71 MB / 441.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.253e-05/0.3396, allocations: 15.92 kB / 441.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003385/0.343, allocations: 1.821 MB / 443.3 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02451/0.3675, allocations: 9.54 MB / 452.9 MB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2784/0.6459, allocations: 7.024 MB / 459.9 MB, free: 105.2 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/0.6464, allocations: 0.8189 MB / 460.7 MB, free: 104.9 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/0.6486, allocations: 1.072 MB / 461.8 MB, free: 104.5 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0292/0.6778, allocations: 18.97 MB / 480.7 MB, free: 96.87 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002288/0.678, allocations: 12.06 kB / 480.7 MB, free: 96.87 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009907/0.679, allocations: 453.8 kB / 481.2 MB, free: 96.53 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005296/0.6795, allocations: 0.7016 MB / 481.9 MB, free: 96.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/0.6982, allocations: 18.11 MB / 0.4883 GB, free: 84.46 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04573/0.7439, allocations: 53.02 MB / 0.5401 GB, free: 31.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/0.7565, allocations: 14.6 MB / 0.5543 GB, free: 19.56 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/0.7595, allocations: 3.875 MB / 0.5581 GB, free: 15.66 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/0.7699, allocations: 11.19 MB / 0.569 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.7699, allocations: 69.58 kB / 0.5691 GB, free: 4.633 MB / 410.8 MB Notification: Performance of pre-optimization done (n=385): time 5.099e-06/0.7699, allocations: 4 kB / 0.5691 GB, free: 4.629 MB / 410.8 MB Notification: Performance of matching and sorting (n=391): time 0.02668/0.7966, allocations: 19.07 MB / 0.5877 GB, free: 1.965 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.7966, allocations: 90.47 kB / 0.5878 GB, free: 1.863 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/0.802, allocations: 4.443 MB / 0.5921 GB, free: 13.49 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.8022, allocations: 93.7 kB / 0.5922 GB, free: 13.39 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002535/0.8047, allocations: 4.977 MB / 0.5971 GB, free: 8.402 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008411/0.8056, allocations: 1.401 MB / 0.5985 GB, free: 7.02 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.8069, allocations: 1.259 MB / 0.5997 GB, free: 5.746 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.8069, allocations: 305.1 kB / 0.6 GB, free: 5.445 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003409/0.8103, allocations: 3.104 MB / 0.603 GB, free: 2.336 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/0.8148, allocations: 5.749 MB / 0.6086 GB, free: 11.36 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007849/0.8226, allocations: 9.423 MB / 0.6178 GB, free: 0.6953 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.294e-05/0.8227, allocations: 31.88 kB / 0.6179 GB, free: 0.6641 MB / 458.8 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.1902/1.013, allocations: 10.19 MB / 0.6278 GB, free: 135.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/1.013, allocations: 42.62 kB / 0.6278 GB, free: 135.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/1.013, allocations: 86.62 kB / 0.6279 GB, free: 135.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00243/1.015, allocations: 1.381 MB / 0.6293 GB, free: 134.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/1.018, allocations: 1.467 MB / 0.6307 GB, free: 134.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/1.028, allocations: 10.93 MB / 0.6414 GB, free: 129.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/1.031, allocations: 405.5 kB / 0.6418 GB, free: 129.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/1.031, allocations: 327.1 kB / 0.6421 GB, free: 129 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005446/1.037, allocations: 4.182 MB / 0.6462 GB, free: 127 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/1.038, allocations: 472 kB / 0.6466 GB, free: 127 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006889/1.044, allocations: 7.258 MB / 0.6537 GB, free: 124.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005236/1.05, allocations: 5.963 MB / 0.6595 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.05, allocations: 11.62 kB / 0.6595 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.05, allocations: 19.8 kB / 0.6596 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/1.064, allocations: 15.52 MB / 0.6747 GB, free: 111.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.064, allocations: 7.938 kB / 0.6747 GB, free: 111.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.066, allocations: 0.7209 MB / 0.6754 GB, free: 110.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/1.068, allocations: 1.228 MB / 0.6766 GB, free: 109.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.068, allocations: 89.14 kB / 0.6767 GB, free: 109.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007137/1.075, allocations: 9.706 MB / 0.6862 GB, free: 100.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.075, allocations: 0 / 0.6862 GB, free: 100.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008719/1.084, allocations: 10.46 MB / 0.6964 GB, free: 90.03 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/1.085, allocations: 0.9988 MB / 0.6974 GB, free: 89.04 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/1.086, allocations: 68 kB / 0.6974 GB, free: 88.97 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.087, allocations: 252.6 kB / 0.6977 GB, free: 88.72 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/1.087, allocations: 287.4 kB / 0.698 GB, free: 88.44 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.087, allocations: 119.9 kB / 0.6981 GB, free: 88.32 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002568/1.09, allocations: 2.854 MB / 0.7009 GB, free: 85.46 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.81e-07/1.09, allocations: 0 / 0.7009 GB, free: 85.46 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00424/1.094, allocations: 1.827 MB / 0.7026 GB, free: 83.64 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008735/1.103, allocations: 11.18 MB / 0.7136 GB, free: 72.41 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007184/1.11, allocations: 7.544 MB / 0.7209 GB, free: 64.85 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.11, allocations: 4 kB / 0.7209 GB, free: 64.85 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002963/1.113, allocations: 3.358 MB / 0.7242 GB, free: 61.48 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/1.116, allocations: 1.087 MB / 0.7253 GB, free: 60.41 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06629/1.182, allocations: 61.57 MB / 0.7854 GB, free: 11.83 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005891/1.188, allocations: 6.616 MB / 0.7919 GB, free: 5.156 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.004108/1.192, allocations: 2.24 MB / 0.7941 GB, free: 2.91 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1604/1.352, allocations: 3.891 MB / 0.7979 GB, free: 150.2 MB / 474.8 MB Notification: Performance of SimCode: time 1.122e-06/1.352, allocations: 0 / 0.7979 GB, free: 150.2 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/1.492, allocations: 142.9 MB / 0.9374 GB, free: 33.59 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.83, allocations: 11.97 kB / 0.9374 GB, free: 33.58 MB / 474.8 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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: 15.963479124940932]