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.0009106/0.0009106, 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.003858/0.003858, allocations: 166.4 kB / 24.7 MB, free: 9.43 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.8723/0.8723, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.162e-06/1.162e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.571e-05, allocations: 6.219 kB / 298.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.1348/0.1349, allocations: 7.957 MB / 306.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006288/0.1411, allocations: 3.012 MB / 309.4 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.1428, allocations: 46.16 kB / 309.5 MB, free: 9.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.1446, allocations: 0.6571 MB / 310.1 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.1474, allocations: 0.7759 MB / 310.9 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.1486, allocations: 330.4 kB / 311.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002788/0.1514, allocations: 2.178 MB / 313.4 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.1528, allocations: 0.7884 MB / 314.2 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.1554, allocations: 1.35 MB / 315.5 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.1572, allocations: 0.9645 MB / 316.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005516/0.1577, allocations: 231.4 kB / 316.7 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007287/0.1585, allocations: 325 kB / 317 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000595/0.159, allocations: 0.7107 MB / 317.8 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.1602, allocations: 0.7386 MB / 318.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002775/0.163, allocations: 3.135 MB / 321.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.163, allocations: 1.469 kB / 321.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.163, allocations: 0 / 321.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.536e-05/0.1631, allocations: 0 / 321.6 MB, free: 3.594 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.003594/0.1666, allocations: 2.232 MB / 323.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.1667, allocations: 14.58 kB / 323.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002424/0.1669, allocations: 234 kB / 324.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000593/0.1675, allocations: 230.8 kB / 324.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.1692, allocations: 1.106 MB / 325.4 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.1693, allocations: 113.3 kB / 325.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.1694, allocations: 153 kB / 325.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.1721, allocations: 2.085 MB / 327.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.1721, allocations: 6.328 kB / 327.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.1722, allocations: 62.38 kB / 327.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-05/0.1723, allocations: 74.33 kB / 327.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.1743, allocations: 1.651 MB / 329.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00858/0.1829, allocations: 6.291 MB / 335.9 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.1835, allocations: 417.8 kB / 336.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.1838, allocations: 258.2 kB / 336.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.1839, allocations: 40.41 kB / 336.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1839, allocations: 35.06 kB / 336.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/0.184, allocations: 0 / 336.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.005146/0.1891, allocations: 3.162 MB / 339.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001669/0.1908, allocations: 2.207 MB / 342 MB, free: 2.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.1925, allocations: 1.674 MB / 343.6 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.1926, allocations: 45.62 kB / 343.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.1932, allocations: 1.045 MB / 344.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.1936, allocations: 238.1 kB / 345 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.1939, allocations: 323.4 kB / 345.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.1939, allocations: 301.1 kB / 345.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.1945, allocations: 0.5153 MB / 346.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009076/0.1954, allocations: 1.468 MB / 347.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.1969, allocations: 2.135 MB / 349.7 MB, free: 9.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.1969, allocations: 12 kB / 349.7 MB, free: 9.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002591/0.1995, allocations: 2.164 MB / 351.9 MB, free: 7.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.1996, allocations: 23.94 kB / 351.9 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.1996, allocations: 34.34 kB / 351.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003539/0.1999, allocations: 231 kB / 352.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.2006, allocations: 395.2 kB / 352.5 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.2017, allocations: 1.733 MB / 354.3 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.2028, allocations: 139.7 kB / 354.4 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.2028, allocations: 99.98 kB / 354.5 MB, free: 4.926 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.0007515/0.2036, allocations: 0.5983 MB / 355.1 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.2038, allocations: 159 kB / 355.3 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.205, allocations: 1.112 MB / 356.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.205, allocations: 8 kB / 356.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.205, allocations: 0 / 356.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2051, allocations: 3.984 kB / 356.4 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.2088, allocations: 3.134 MB / 359.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2088, allocations: 11.94 kB / 359.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.2091, allocations: 103.8 kB / 359.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003613/0.2094, allocations: 227 kB / 359.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.2094, allocations: 16 kB / 359.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.212, allocations: 3.825 MB / 363.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00151/0.2135, allocations: 2.063 MB / 365.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.2153, allocations: 1.739 MB / 367.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005563/0.2159, allocations: 238.9 kB / 367.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.216, allocations: 23.98 kB / 367.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.2164, allocations: 47.89 kB / 367.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.2165, allocations: 75.7 kB / 367.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.2165, allocations: 20 kB / 367.9 MB, free: 6.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.2177, allocations: 1.07 MB / 369 MB, free: 5.836 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2177, allocations: 0 / 369 MB, free: 5.836 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001225/0.219, allocations: 383.9 kB / 369.3 MB, free: 5.461 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.001949/0.2209, allocations: 2.369 MB / 371.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.2228, allocations: 1.413 MB / 373.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2228, allocations: 0 / 373.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.2236, allocations: 0.7531 MB / 373.9 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.2249, allocations: 404 kB / 374.3 MB, free: 404 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.2434, allocations: 15.26 MB / 389.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.2441, allocations: 0.893 MB / 390.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007406/0.2449, allocations: 350 kB / 390.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.2454, allocations: 0.6253 MB / 391.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2454, allocations: 0 / 391.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05603/0.3015, allocations: 38.73 MB / 430.1 MB, free: 7.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.903/9.205, 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.04 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.851262393407524]