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.002115/0.002115, allocations: 112.5 kB / 17.28 MB, free: 6.199 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.00271/0.00271, allocations: 185.3 kB / 18.2 MB, free: 5.281 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.915/1.915, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001209/0.001209, allocations: 55.92 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1228, allocations: 46.63 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01311/0.136, allocations: 8.909 MB / 335.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00789/0.1439, allocations: 3.164 MB / 338.9 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.1466, allocations: 39.81 kB / 338.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.1497, allocations: 0.6138 MB / 339.5 MB, free: 8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.1532, allocations: 0.6295 MB / 340.1 MB, free: 7.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1544, allocations: 291.6 kB / 340.4 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003581/0.158, allocations: 2.094 MB / 342.5 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.16, allocations: 1.405 MB / 343.9 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.1622, allocations: 0.9108 MB / 344.8 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.1646, allocations: 1.156 MB / 346 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005504/0.1652, allocations: 232 kB / 346.2 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009123/0.1661, allocations: 319.8 kB / 346.5 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00091/0.1671, allocations: 0.6778 MB / 347.2 MB, free: 240 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.1687, allocations: 1.081 MB / 348.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004044/0.1728, allocations: 3.08 MB / 351.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.1728, allocations: 0 / 351.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1729, allocations: 0 / 351.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000145/0.173, allocations: 4 kB / 351.4 MB, free: 12.05 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.006758/0.1798, allocations: 2.261 MB / 353.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.1799, allocations: 12.03 kB / 353.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008216/0.1807, allocations: 222.5 kB / 353.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.1829, allocations: 1.157 MB / 355 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.183, allocations: 111.5 kB / 355.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.1832, allocations: 159.8 kB / 355.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.1871, allocations: 2 MB / 357.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.061e-05/0.1872, allocations: 8 kB / 357.3 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.1873, allocations: 64 kB / 357.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.844e-05/0.1874, allocations: 78.91 kB / 357.4 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.1903, allocations: 1.643 MB / 359.1 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.2017, allocations: 6.948 MB / 366 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/0.2027, allocations: 440.6 kB / 366.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.2032, allocations: 266 kB / 366.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.2034, allocations: 122 kB / 366.8 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2035, allocations: 38.94 kB / 366.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 4.338e-06/0.2035, allocations: 3.984 kB / 366.9 MB, free: 12.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.008135/0.2116, allocations: 3.281 MB / 370.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003137/0.2148, allocations: 2.338 MB / 372.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003019/0.2179, allocations: 1.623 MB / 374.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.2181, allocations: 37.7 kB / 374.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000967/0.2191, allocations: 1.018 MB / 375.2 MB, free: 3.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.2194, allocations: 236.8 kB / 375.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005924/0.22, allocations: 315.2 kB / 375.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2201, allocations: 305.1 kB / 376 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/0.221, allocations: 0.5192 MB / 376.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.2227, allocations: 1.461 MB / 378 MB, free: 128 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2494/0.4721, allocations: 2.137 MB / 380.1 MB, free: 49.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-05/0.4722, allocations: 9.625 kB / 380.1 MB, free: 49.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004119/0.4763, allocations: 2.163 MB / 382.3 MB, free: 48.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.4764, allocations: 18.94 kB / 382.3 MB, free: 48.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.377e-05/0.4765, allocations: 34.31 kB / 382.4 MB, free: 48.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.4771, allocations: 230 kB / 382.6 MB, free: 48.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.4783, allocations: 394.2 kB / 383 MB, free: 48.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.4801, allocations: 1.846 MB / 384.8 MB, free: 47.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.482, allocations: 140.6 kB / 384.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.4822, allocations: 99.06 kB / 385 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.00112/0.4834, allocations: 0.5855 MB / 385.6 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.4837, allocations: 149 kB / 385.8 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.4861, allocations: 1.12 MB / 386.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4861, allocations: 5.844 kB / 386.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4861, allocations: 2.062 kB / 386.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4861, allocations: 2.812 kB / 386.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007112/0.4932, allocations: 3.387 MB / 390.3 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.4933, allocations: 5.234 kB / 390.3 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.4938, allocations: 112.5 kB / 390.4 MB, free: 44.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007865/0.4946, allocations: 227.8 kB / 390.6 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.4947, allocations: 18.95 kB / 390.6 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004028/0.4987, allocations: 4.069 MB / 394.7 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001863/0.5006, allocations: 2.181 MB / 396.9 MB, free: 39.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.5037, allocations: 1.735 MB / 398.6 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008738/0.5046, allocations: 312 kB / 398.9 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.5048, allocations: 17.62 kB / 399 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.5056, allocations: 47.83 kB / 399 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.5058, allocations: 67.42 kB / 399.1 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/0.5059, allocations: 21.5 kB / 399.1 MB, free: 38.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.508, allocations: 1.074 MB / 400.2 MB, free: 37.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.508, allocations: 0 / 400.2 MB, free: 37.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002666/0.5107, allocations: 377.6 kB / 400.5 MB, free: 37.72 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.0005736/0.5113, allocations: 177.8 kB / 400.7 MB, free: 37.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.5151, allocations: 1.705 MB / 402.4 MB, free: 36.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.5151, allocations: 3.875 kB / 402.4 MB, free: 36.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5164, allocations: 0.8542 MB / 403.3 MB, free: 36.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.5189, allocations: 416.1 kB / 403.7 MB, free: 36.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.5253, allocations: 3.844 MB / 407.5 MB, free: 32.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009499/0.5263, allocations: 1.472 MB / 409 MB, free: 30.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001218/0.5276, allocations: 350 kB / 409.3 MB, free: 30.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.5278, allocations: 107.4 kB / 409.4 MB, free: 30.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5278, allocations: 0 / 409.4 MB, free: 30.54 MB / 318.1 MB Notification: Performance of Templates: time 0.03889/0.5667, allocations: 20.43 MB / 429.9 MB, free: 10.11 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 -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/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","../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