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.0008529/0.0008528, allocations: 95.12 kB / 17.3 MB, free: 6.031 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.001003/0.001004, allocations: 177.3 kB / 18.2 MB, free: 5.41 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.646/1.646, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0004799/0.0004801, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.009094/0.1137, allocations: 8.415 MB / 337.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005794/0.1196, allocations: 3.144 MB / 340.5 MB, free: 8.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.1208, allocations: 31.88 kB / 340.6 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.1226, allocations: 0.606 MB / 341.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.1245, allocations: 0.6333 MB / 341.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.1252, allocations: 287.7 kB / 342.1 MB, free: 6.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.1276, allocations: 2.432 MB / 344.5 MB, free: 4.145 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.1289, allocations: 1.156 MB / 345.7 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008638/0.1298, allocations: 0.7155 MB / 346.4 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.131, allocations: 0.988 MB / 347.4 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.1312, allocations: 104 kB / 347.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.1317, allocations: 199.8 kB / 347.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005048/0.1322, allocations: 0.5333 MB / 348.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008419/0.133, allocations: 0.9461 MB / 349.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.1354, allocations: 2.927 MB / 352.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1354, allocations: 4 kB / 352.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1354, allocations: 0 / 352.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.1355, allocations: 0 / 352.1 MB, free: 12.5 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.003359/0.1388, allocations: 1.919 MB / 354 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1389, allocations: 8.031 kB / 354 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005758/0.1395, allocations: 238.4 kB / 354.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.1412, allocations: 1.145 MB / 355.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.1413, allocations: 119.4 kB / 355.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.1416, allocations: 155.8 kB / 355.6 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/0.1447, allocations: 2.004 MB / 357.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/0.1448, allocations: 4 kB / 357.7 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.1449, allocations: 60 kB / 357.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.023e-05/0.145, allocations: 78.91 kB / 357.8 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/0.148, allocations: 1.647 MB / 359.4 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.1588, allocations: 6.975 MB / 366.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.1598, allocations: 444.8 kB / 366.8 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.1602, allocations: 258 kB / 367.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.1605, allocations: 121.5 kB / 367.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.1606, allocations: 42.98 kB / 367.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 5.22e-06/0.1606, allocations: 0 / 367.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.008055/0.1686, allocations: 3.296 MB / 370.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002661/0.1713, allocations: 2.174 MB / 372.7 MB, free: 7.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.174, allocations: 1.615 MB / 374.3 MB, free: 5.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/0.1741, allocations: 37.7 kB / 374.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/0.1749, allocations: 1.014 MB / 375.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.1752, allocations: 240.8 kB / 375.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1753, allocations: 129.6 kB / 375.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.1754, allocations: 309.2 kB / 376.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007487/0.1762, allocations: 0.5114 MB / 376.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.1776, allocations: 1.468 MB / 378 MB, free: 1.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2084/0.386, allocations: 2.131 MB / 380.2 MB, free: 48.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.27e-05/0.3861, allocations: 11 kB / 380.2 MB, free: 48.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004967/0.391, allocations: 2.159 MB / 382.3 MB, free: 48.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.3911, allocations: 23.53 kB / 382.4 MB, free: 48.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.077e-05/0.3912, allocations: 36.58 kB / 382.4 MB, free: 48.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.3918, allocations: 222.7 kB / 382.6 MB, free: 48.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.393, allocations: 395 kB / 383 MB, free: 48.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.3947, allocations: 1.713 MB / 384.7 MB, free: 46.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.3966, allocations: 141.9 kB / 384.8 MB, free: 46.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.3968, allocations: 94.95 kB / 384.9 MB, free: 46.97 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.001302/0.3981, allocations: 0.5893 MB / 385.5 MB, free: 46.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004635/0.3986, allocations: 153.6 kB / 385.7 MB, free: 46.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.4011, allocations: 1.114 MB / 386.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.4011, allocations: 9.188 kB / 386.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4011, allocations: 2.094 kB / 386.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.4011, allocations: 4.359 kB / 386.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/0.4076, allocations: 3.382 MB / 390.2 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.4076, allocations: 5.625 kB / 390.2 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.4082, allocations: 111.5 kB / 390.3 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007734/0.4089, allocations: 229.4 kB / 390.5 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.409, allocations: 19.91 kB / 390.6 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/0.4124, allocations: 3.705 MB / 394.3 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001595/0.414, allocations: 2.022 MB / 396.3 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002973/0.417, allocations: 1.738 MB / 398 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/0.4177, allocations: 306.3 kB / 398.3 MB, free: 38.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.4179, allocations: 18.48 kB / 398.3 MB, free: 38.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/0.4185, allocations: 51.89 kB / 398.4 MB, free: 38.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.4187, allocations: 68.11 kB / 398.5 MB, free: 38.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.4187, allocations: 25.81 kB / 398.5 MB, free: 38.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001723/0.4205, allocations: 1.07 MB / 399.5 MB, free: 38.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4205, allocations: 0 / 399.5 MB, free: 38.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001918/0.4224, allocations: 387.3 kB / 399.9 MB, free: 38.29 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.0003763/0.4228, allocations: 174.7 kB / 400.1 MB, free: 38.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.4249, allocations: 1.597 MB / 401.7 MB, free: 37.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4249, allocations: 1.188 kB / 401.7 MB, free: 37.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.426, allocations: 0.8517 MB / 402.5 MB, free: 36.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.4286, allocations: 390.7 kB / 402.9 MB, free: 36.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.4335, allocations: 3.875 MB / 406.8 MB, free: 33.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009953/0.4345, allocations: 1.469 MB / 408.3 MB, free: 32.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009418/0.4355, allocations: 350 kB / 408.6 MB, free: 31.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.4357, allocations: 115.4 kB / 408.7 MB, free: 31.66 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4358, allocations: 4 kB / 408.7 MB, free: 31.66 MB / 318.1 MB Notification: Performance of Templates: time 0.03164/0.4674, allocations: 19.36 MB / 428.1 MB, free: 12.3 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