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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 108.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.114, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.0106/0.1247, allocations: 8.976 MB / 337.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006482/0.1312, allocations: 3.198 MB / 340.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.133, allocations: 39.81 kB / 340.9 MB, free: 7.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.1351, allocations: 0.6794 MB / 341.6 MB, free: 6.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.1379, allocations: 0.6911 MB / 342.3 MB, free: 6.102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008552/0.1387, allocations: 335.4 kB / 342.6 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003139/0.1419, allocations: 2.098 MB / 344.7 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.144, allocations: 1.413 MB / 346.1 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.1461, allocations: 0.8992 MB / 347 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.1476, allocations: 1.129 MB / 348.2 MB, free: 176 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.1479, allocations: 232 kB / 348.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006777/0.1486, allocations: 319.8 kB / 348.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.1494, allocations: 0.6778 MB / 349.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.1508, allocations: 1.081 MB / 350.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.1538, allocations: 3.103 MB / 353.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.1538, allocations: 0 / 353.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1538, allocations: 0 / 353.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.248e-05/0.1539, allocations: 0 / 353.6 MB, free: 10.75 MB / 302.1 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.004741/0.1586, allocations: 2.265 MB / 355.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.1587, allocations: 15.97 kB / 355.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.1593, allocations: 226.5 kB / 356.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.1614, allocations: 1.165 MB / 357.2 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/0.1615, allocations: 115.4 kB / 357.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.1618, allocations: 159.8 kB / 357.5 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/0.1651, allocations: 2.004 MB / 359.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.1652, allocations: 7.938 kB / 359.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.1654, allocations: 64 kB / 359.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.1655, allocations: 74.92 kB / 359.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.1685, allocations: 1.655 MB / 361.3 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.18, allocations: 6.893 MB / 368.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.181, allocations: 445 kB / 368.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.1814, allocations: 266 kB / 368.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.1817, allocations: 117.5 kB / 369 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.1818, allocations: 39 kB / 369 MB, free: 10.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 3.517e-06/0.1818, allocations: 0 / 369 MB, free: 10.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007422/0.1892, allocations: 3.284 MB / 372.3 MB, free: 7.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002713/0.192, allocations: 2.329 MB / 374.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.1951, allocations: 1.615 MB / 376.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.1952, allocations: 41.7 kB / 376.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009279/0.1961, allocations: 1.018 MB / 377.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.1964, allocations: 236.8 kB / 377.6 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/0.1969, allocations: 319.2 kB / 377.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.197, allocations: 301.1 kB / 378.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.198, allocations: 0.5192 MB / 378.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2607/0.4587, allocations: 1.461 MB / 380.2 MB, free: 50.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.4617, allocations: 2.145 MB / 382.3 MB, free: 49.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.103e-05/0.4618, allocations: 9.562 kB / 382.3 MB, free: 49.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00445/0.4662, allocations: 2.154 MB / 384.5 MB, free: 48.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/0.4663, allocations: 24.23 kB / 384.5 MB, free: 48.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-05/0.4664, allocations: 38.81 kB / 384.5 MB, free: 48.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/0.467, allocations: 224.9 kB / 384.7 MB, free: 48.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.4684, allocations: 390.9 kB / 385.1 MB, free: 48.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.4702, allocations: 1.849 MB / 387 MB, free: 47.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.4721, allocations: 141.2 kB / 387.1 MB, free: 47.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.4723, allocations: 96.36 kB / 387.2 MB, free: 47.02 MB / 318.1 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.001205/0.4735, allocations: 0.5875 MB / 387.8 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/0.4741, allocations: 149.4 kB / 387.9 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.4764, allocations: 1.114 MB / 389.1 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.4764, allocations: 10.47 kB / 389.1 MB, free: 46.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.4764, allocations: 5.797 kB / 389.1 MB, free: 46.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4764, allocations: 3 kB / 389.1 MB, free: 46.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007121/0.4835, allocations: 3.388 MB / 392.5 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.4836, allocations: 6.797 kB / 392.5 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/0.4841, allocations: 112.9 kB / 392.6 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007174/0.4849, allocations: 226 kB / 392.8 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.4849, allocations: 19.84 kB / 392.8 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.4888, allocations: 4.053 MB / 396.9 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001869/0.4907, allocations: 2.174 MB / 399 MB, free: 39.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.4935, allocations: 1.75 MB / 400.8 MB, free: 38.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/0.4942, allocations: 313.3 kB / 401.1 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.4944, allocations: 15.81 kB / 401.1 MB, free: 38.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006513/0.495, allocations: 49.08 kB / 401.2 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.4952, allocations: 62.52 kB / 401.2 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.4953, allocations: 27.58 kB / 401.2 MB, free: 38.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001629/0.4969, allocations: 1.067 MB / 402.3 MB, free: 37.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4969, allocations: 0 / 402.3 MB, free: 37.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00181/0.4987, allocations: 385.2 kB / 402.7 MB, free: 37.74 MB / 318.1 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.0003219/0.4991, allocations: 167.6 kB / 402.9 MB, free: 37.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.5014, allocations: 1.614 MB / 404.5 MB, free: 36.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5014, allocations: 3.938 kB / 404.5 MB, free: 36.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.5025, allocations: 0.8553 MB / 405.3 MB, free: 36.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.5042, allocations: 406.9 kB / 405.7 MB, free: 35.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.5081, allocations: 3.17 MB / 408.9 MB, free: 33.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/0.5089, allocations: 1.471 MB / 410.4 MB, free: 31.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008579/0.5098, allocations: 352.7 kB / 410.7 MB, free: 31.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.51, allocations: 115.4 kB / 410.8 MB, free: 31.1 MB / 318.1 MB Notification: Performance of SimCode: time 7.12e-07/0.51, allocations: 0 / 410.8 MB, free: 31.1 MB / 318.1 MB Notification: Performance of Templates: time 0.03023/0.5403, allocations: 20.4 MB / 431.2 MB, free: 10.71 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches