Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.001165/0.001165, 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.00703/0.00703, allocations: 162.2 kB / 24.69 MB, free: 8.895 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.9011/0.9011, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.114e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.1406/0.1407, allocations: 7.948 MB / 306.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005032/0.1457, allocations: 3.021 MB / 309.4 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.1467, allocations: 49.69 kB / 309.5 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.1482, allocations: 0.6489 MB / 310.1 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.15, allocations: 0.7775 MB / 310.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.1507, allocations: 326.8 kB / 311.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.1527, allocations: 2.184 MB / 313.4 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009183/0.1536, allocations: 0.7854 MB / 314.2 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.1552, allocations: 1.353 MB / 315.5 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1564, allocations: 0.9656 MB / 316.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003247/0.1567, allocations: 230.9 kB / 316.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.1573, allocations: 324.1 kB / 317 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.1577, allocations: 0.7068 MB / 317.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007554/0.1585, allocations: 0.7386 MB / 318.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.1609, allocations: 3.145 MB / 321.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1609, allocations: 0 / 321.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1609, allocations: 1.25 kB / 321.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.593e-05/0.161, allocations: 0 / 321.6 MB, free: 3.598 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.003174/0.1641, allocations: 2.225 MB / 323.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1642, allocations: 18.27 kB / 323.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.1644, allocations: 225.6 kB / 324.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004266/0.1648, allocations: 235.8 kB / 324.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.1661, allocations: 1.097 MB / 325.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/0.1662, allocations: 117.5 kB / 325.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.1664, allocations: 157 kB / 325.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.1686, allocations: 2.081 MB / 327.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.1686, allocations: 15.22 kB / 327.8 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.1687, allocations: 61.91 kB / 327.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-05/0.1688, allocations: 75.62 kB / 327.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.1706, allocations: 1.65 MB / 329.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006303/0.1769, allocations: 6.277 MB / 335.8 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.1774, allocations: 421.8 kB / 336.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.1777, allocations: 250.2 kB / 336.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.1778, allocations: 52.39 kB / 336.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1778, allocations: 39.06 kB / 336.6 MB, free: 8.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 4.218e-06/0.1778, allocations: 0 / 336.6 MB, free: 8.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.004235/0.1821, allocations: 3.157 MB / 339.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001578/0.1837, allocations: 2.215 MB / 342 MB, free: 2.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.1853, allocations: 1.674 MB / 343.6 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.1854, allocations: 41.64 kB / 343.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/0.1859, allocations: 1.045 MB / 344.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.186, allocations: 242.1 kB / 345 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.1863, allocations: 315.3 kB / 345.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.1863, allocations: 305.1 kB / 345.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/0.1869, allocations: 0.5231 MB / 346.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009497/0.1878, allocations: 1.457 MB / 347.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.1894, allocations: 2.147 MB / 349.7 MB, free: 9.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.1894, allocations: 12 kB / 349.7 MB, free: 9.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002242/0.1917, allocations: 2.163 MB / 351.9 MB, free: 7.676 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.1917, allocations: 20 kB / 351.9 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.1917, allocations: 39.16 kB / 351.9 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.1921, allocations: 222.4 kB / 352.1 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006471/0.1927, allocations: 391.3 kB / 352.5 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.1938, allocations: 1.745 MB / 354.3 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/0.1948, allocations: 135.7 kB / 354.4 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/0.1949, allocations: 95.98 kB / 354.5 MB, free: 4.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007906/0.1957, allocations: 0.5944 MB / 355.1 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.1959, allocations: 159 kB / 355.2 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.1971, allocations: 1.112 MB / 356.4 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1971, allocations: 8 kB / 356.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1971, allocations: 0 / 356.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1971, allocations: 4 kB / 356.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.2007, allocations: 3.134 MB / 359.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2007, allocations: 11.94 kB / 359.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.2009, allocations: 115.7 kB / 359.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.2012, allocations: 218.4 kB / 359.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.2013, allocations: 20.41 kB / 359.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/0.204, allocations: 3.821 MB / 363.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001532/0.2055, allocations: 2.067 MB / 365.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.2074, allocations: 1.743 MB / 367.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.2079, allocations: 230.9 kB / 367.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.964e-05/0.208, allocations: 16 kB / 367.7 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.2084, allocations: 60 kB / 367.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2085, allocations: 63.72 kB / 367.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.2086, allocations: 27.98 kB / 367.9 MB, free: 6.906 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.2097, allocations: 1.066 MB / 368.9 MB, free: 5.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2097, allocations: 0 / 368.9 MB, free: 5.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001245/0.211, allocations: 383.9 kB / 369.3 MB, free: 5.469 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002237/0.2132, allocations: 2.365 MB / 371.7 MB, free: 3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.215, allocations: 1.417 MB / 373.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.215, allocations: 8.062 kB / 373.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.2158, allocations: 0.7409 MB / 373.9 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.217, allocations: 409.5 kB / 374.3 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.235, allocations: 15.25 MB / 389.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.2357, allocations: 0.893 MB / 390.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008167/0.2365, allocations: 350 kB / 390.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006401/0.2372, allocations: 0.6253 MB / 391.4 MB, free: 14 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2372, allocations: 0 / 391.4 MB, free: 14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06149/0.2987, allocations: 38.74 MB / 430.1 MB, free: 7.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.053/9.351, allocations: 3.938 kB / 430.1 MB, free: 7.156 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv --start-time 0 --stop-time 0.04 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable constantSpeed.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable constantSpeed.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.063657685182989]