Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 107.2 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.001949/0.001949, allocations: 188.1 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.513/1.513, 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.001314/0.001314, allocations: 55.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1058, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01431/0.1202, allocations: 10.89 MB / 339.6 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008162/0.1284, allocations: 3.669 MB / 343.3 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.131, allocations: 55.75 kB / 343.3 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.1334, allocations: 0.8188 MB / 344.2 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.1366, allocations: 0.8541 MB / 345 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1378, allocations: 475.2 kB / 345.5 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003794/0.1416, allocations: 2.943 MB / 348.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.1446, allocations: 2.683 MB / 351.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.1467, allocations: 1.367 MB / 352.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.1496, allocations: 1.748 MB / 354.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006047/0.1502, allocations: 376 kB / 354.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009091/0.1511, allocations: 479.8 kB / 355.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009797/0.1521, allocations: 1.071 MB / 356.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.154, allocations: 1.672 MB / 357.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004979/0.159, allocations: 4.883 MB / 362.7 MB, free: 1.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.159, allocations: 0 / 362.7 MB, free: 1.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1591, allocations: 4 kB / 362.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001698/0.1593, allocations: 0 / 362.7 MB, free: 1.594 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.008538/0.1678, allocations: 3.379 MB / 366.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1679, allocations: 8.031 kB / 366.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008754/0.1687, allocations: 341.1 kB / 366.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.1722, allocations: 1.713 MB / 368.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.1724, allocations: 189.4 kB / 368.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.1727, allocations: 251.8 kB / 368.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005881/0.1786, allocations: 3.283 MB / 371.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/0.1787, allocations: 3.984 kB / 371.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.179, allocations: 104 kB / 371.9 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.1791, allocations: 120.9 kB / 372.1 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004862/0.184, allocations: 2.744 MB / 374.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2571/0.4411, allocations: 10.4 MB / 385.2 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.4436, allocations: 1.343 MB / 386.5 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.4453, allocations: 0.7841 MB / 387.3 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003725/0.4457, allocations: 205 kB / 387.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.4458, allocations: 44.72 kB / 387.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 4.439e-06/0.4458, allocations: 0 / 387.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01977/0.4656, allocations: 7.027 MB / 394.6 MB, free: 43.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.4657, allocations: 69.72 kB / 394.7 MB, free: 42.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003832/0.4696, allocations: 1.789 MB / 396.5 MB, free: 42.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.4697, allocations: 45.52 kB / 396.5 MB, free: 42.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008289/0.4706, allocations: 1.283 MB / 397.8 MB, free: 41.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.4709, allocations: 425 kB / 398.2 MB, free: 40.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004725/0.4714, allocations: 292.8 kB / 398.5 MB, free: 40.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4715, allocations: 309 kB / 398.8 MB, free: 40.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.4726, allocations: 0.7708 MB / 399.6 MB, free: 40.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.4739, allocations: 1.302 MB / 400.9 MB, free: 39.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.4767, allocations: 2.214 MB / 403.1 MB, free: 37.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.4768, allocations: 3.906 kB / 403.1 MB, free: 37.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004273/0.481, allocations: 2.475 MB / 405.5 MB, free: 36.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.4811, allocations: 11.12 kB / 405.6 MB, free: 36.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.4811, allocations: 18.38 kB / 405.6 MB, free: 36.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006942/0.4818, allocations: 239.4 kB / 405.8 MB, free: 36.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.4833, allocations: 421.2 kB / 406.2 MB, free: 35.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.4858, allocations: 3.239 MB / 409.5 MB, free: 32.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.4875, allocations: 131.6 kB / 409.6 MB, free: 32.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.4876, allocations: 71.73 kB / 409.7 MB, free: 32.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001741/0.4894, allocations: 0.8134 MB / 410.5 MB, free: 31.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004603/0.4899, allocations: 189.6 kB / 410.7 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/0.493, allocations: 2.031 MB / 412.7 MB, free: 29.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.493, allocations: 15.94 kB / 412.7 MB, free: 29.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.493, allocations: 9.141 kB / 412.7 MB, free: 29.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.493, allocations: 3.984 kB / 412.7 MB, free: 29.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008607/0.5017, allocations: 4.745 MB / 417.5 MB, free: 24.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5017, allocations: 0 / 417.5 MB, free: 24.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.5028, allocations: 267.6 kB / 417.7 MB, free: 24.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005641/0.5033, allocations: 207.5 kB / 417.9 MB, free: 24.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.5034, allocations: 24 kB / 418 MB, free: 24.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.5057, allocations: 3.21 MB / 421.2 MB, free: 20.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5057, allocations: 0 / 421.2 MB, free: 20.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004547/0.5103, allocations: 3.127 MB / 424.3 MB, free: 17.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.5116, allocations: 430.6 kB / 424.7 MB, free: 17.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.5118, allocations: 24 kB / 424.7 MB, free: 17.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009457/0.5128, allocations: 91.88 kB / 424.8 MB, free: 17.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.513, allocations: 80.89 kB / 424.9 MB, free: 17.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.513, allocations: 39.98 kB / 424.9 MB, free: 16.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001848/0.5149, allocations: 1.22 MB / 426.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5149, allocations: 0 / 426.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001903/0.5168, allocations: 486.1 kB / 426.6 MB, free: 15.3 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004368/0.5173, allocations: 206.4 kB / 426.8 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003133/0.5204, allocations: 2.346 MB / 429.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5204, allocations: 2 kB / 429.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.522, allocations: 1.334 MB / 430.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.5245, allocations: 0.493 MB / 431 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008649/0.5331, allocations: 4.851 MB / 435.9 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.5348, allocations: 2.006 MB / 437.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001749/0.5366, allocations: 0.496 MB / 438.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.537, allocations: 142.9 kB / 438.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of SimCode: time 2.134e-06/0.537, allocations: 0 / 438.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of Templates: time 0.05823/0.5953, allocations: 25.69 MB / 464.2 MB, free: 9.531 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_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_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches