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.00121/0.00121, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001145/0.001145, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.331/1.331, allocations: 205.1 MB / 225.1 MB, free: 12.29 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.001233/0.001233, allocations: 51.92 kB / 281.3 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07865/0.0799, allocations: 46.63 MB / 328 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01021/0.09015, allocations: 8.953 MB / 336.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005418/0.0956, allocations: 3.206 MB / 340.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007194/0.09634, allocations: 39.81 kB / 340.2 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.09792, allocations: 0.6715 MB / 340.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.09968, allocations: 0.6989 MB / 341.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.1004, allocations: 331.4 kB / 341.9 MB, free: 6.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.1024, allocations: 2.101 MB / 344 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.1039, allocations: 1.405 MB / 345.4 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.105, allocations: 0.9031 MB / 346.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.1064, allocations: 1.125 MB / 347.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.1067, allocations: 236 kB / 347.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.1073, allocations: 319.8 kB / 347.9 MB, free: 356 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006313/0.1079, allocations: 0.6779 MB / 348.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.1089, allocations: 1.073 MB / 349.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.1116, allocations: 3.072 MB / 352.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1116, allocations: 4 kB / 352.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1116, allocations: 0 / 352.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.1117, allocations: 3.938 kB / 352.8 MB, free: 11.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.004078/0.1158, allocations: 2.265 MB / 355 MB, free: 9.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1158, allocations: 8.031 kB / 355 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006209/0.1164, allocations: 230.5 kB / 355.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.1183, allocations: 1.149 MB / 356.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.911e-05/0.1184, allocations: 119.4 kB / 356.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.1186, allocations: 155.8 kB / 356.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/0.1217, allocations: 2.004 MB / 358.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/0.1218, allocations: 4 kB / 358.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.1219, allocations: 60 kB / 358.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.57e-05/0.122, allocations: 78.91 kB / 358.8 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.1247, allocations: 1.647 MB / 360.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009366/0.134, allocations: 6.956 MB / 367.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.1348, allocations: 444.9 kB / 367.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.1352, allocations: 263 kB / 368.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.1354, allocations: 109.5 kB / 368.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1355, allocations: 42.98 kB / 368.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.504e-06/0.1355, allocations: 3.938 kB / 368.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006958/0.1424, allocations: 3.289 MB / 371.6 MB, free: 8.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002416/0.1449, allocations: 2.329 MB / 373.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.1471, allocations: 1.619 MB / 375.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.1472, allocations: 33.7 kB / 375.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/0.1479, allocations: 1.022 MB / 376.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.1481, allocations: 236.8 kB / 376.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003969/0.1485, allocations: 323.1 kB / 377.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.1486, allocations: 305.2 kB / 377.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007707/0.1494, allocations: 0.5192 MB / 377.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1412/0.2906, allocations: 1.461 MB / 379.4 MB, free: 50.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.2929, allocations: 2.141 MB / 381.5 MB, free: 49.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.039e-05/0.2929, allocations: 9.625 kB / 381.5 MB, free: 49.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004044/0.297, allocations: 2.166 MB / 383.7 MB, free: 48.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.2971, allocations: 19.88 kB / 383.7 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/0.2971, allocations: 34.59 kB / 383.8 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.2977, allocations: 224.9 kB / 384 MB, free: 48.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.2989, allocations: 391.1 kB / 384.4 MB, free: 48.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.3004, allocations: 1.849 MB / 386.2 MB, free: 47.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.3019, allocations: 141.1 kB / 386.3 MB, free: 47.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.3021, allocations: 96.34 kB / 386.4 MB, free: 47.12 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.000943/0.303, allocations: 0.5852 MB / 387 MB, free: 46.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.3034, allocations: 152.3 kB / 387.2 MB, free: 46.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.3053, allocations: 1.119 MB / 388.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3054, allocations: 6.219 kB / 388.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3054, allocations: 1.219 kB / 388.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3054, allocations: 4.766 kB / 388.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00559/0.311, allocations: 3.385 MB / 391.7 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.311, allocations: 4.406 kB / 391.7 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.3115, allocations: 111.2 kB / 391.8 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/0.3121, allocations: 231.4 kB / 392 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.3121, allocations: 17.42 kB / 392 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/0.3151, allocations: 4.067 MB / 396.1 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0016/0.3167, allocations: 2.175 MB / 398.3 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.3191, allocations: 1.748 MB / 400 MB, free: 38.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/0.3197, allocations: 305.5 kB / 400.3 MB, free: 38.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.3199, allocations: 22.86 kB / 400.4 MB, free: 38.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.3206, allocations: 47.69 kB / 400.4 MB, free: 38.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3207, allocations: 67.83 kB / 400.5 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.3207, allocations: 22.66 kB / 400.5 MB, free: 38.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001264/0.322, allocations: 1.069 MB / 401.6 MB, free: 37.87 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.322, allocations: 0 / 401.6 MB, free: 37.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001499/0.3235, allocations: 386.3 kB / 401.9 MB, free: 37.83 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.0002589/0.3238, allocations: 169.8 kB / 402.1 MB, free: 37.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.326, allocations: 1.704 MB / 403.8 MB, free: 36.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.341e-06/0.3261, allocations: 6.75 kB / 403.8 MB, free: 36.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009946/0.3271, allocations: 0.8437 MB / 404.7 MB, free: 36.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.3287, allocations: 409.8 kB / 405.1 MB, free: 36.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.3323, allocations: 3.251 MB / 408.3 MB, free: 33.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.3331, allocations: 1.464 MB / 409.8 MB, free: 31.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.3333, allocations: 123.4 kB / 409.9 MB, free: 31.57 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3333, allocations: 0 / 409.9 MB, free: 31.57 MB / 318.1 MB Notification: Performance of Templates: time 0.04134/0.3747, allocations: 47.14 MB / 457 MB, free: 372 kB / 334.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/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