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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 190 kB / 22.93 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] 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=20000,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=20000,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") [Timeout 660] "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.002601/0.002601, allocations: 51.92 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.372, allocations: 49.12 MB / 394.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.0123/0.3843, allocations: 10.97 MB / 405.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009569/0.3939, allocations: 3.7 MB / 409.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.3965, allocations: 56.09 kB / 409.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.3991, allocations: 0.8792 MB / 410.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.403, allocations: 0.9086 MB / 411 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.4044, allocations: 481.9 kB / 411.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004473/0.4089, allocations: 2.96 MB / 414.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.4113, allocations: 1.525 MB / 416 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.4137, allocations: 1.374 MB / 417.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.4165, allocations: 1.793 MB / 419.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006169/0.4171, allocations: 373.5 kB / 419.5 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.4182, allocations: 478.2 kB / 420 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.4194, allocations: 1.093 MB / 421.1 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.4215, allocations: 1.672 MB / 422.8 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006365/0.4278, allocations: 4.903 MB / 427.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4278, allocations: 0 / 427.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4278, allocations: 0 / 427.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.828e-05/0.4279, allocations: 4 kB / 427.7 MB, free: 2.602 MB / 334.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.007704/0.4356, allocations: 3.465 MB / 431.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4357, allocations: 11.98 kB / 431.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008438/0.4365, allocations: 362.8 kB / 431.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.4395, allocations: 1.711 MB / 433.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.4397, allocations: 193.4 kB / 433.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003912/0.4401, allocations: 247.9 kB / 433.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006051/0.4462, allocations: 3.275 MB / 436.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.4462, allocations: 11.95 kB / 436.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.4465, allocations: 104 kB / 437 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/0.4466, allocations: 124.9 kB / 437.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005017/0.4516, allocations: 2.748 MB / 439.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01883/0.4705, allocations: 10.42 MB / 450.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.4732, allocations: 1.289 MB / 451.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.4748, allocations: 0.7075 MB / 452.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/0.4752, allocations: 207.1 kB / 452.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.4752, allocations: 43.56 kB / 452.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.667e-06/0.4752, allocations: 0 / 452.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.0191/0.4943, allocations: 7.078 MB / 459.6 MB, free: 1.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.4944, allocations: 68.41 kB / 459.7 MB, free: 1.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.4973, allocations: 1.79 MB / 461.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/0.4974, allocations: 45.7 kB / 461.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.4984, allocations: 1.314 MB / 462.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/0.4988, allocations: 440.3 kB / 463.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004981/0.4993, allocations: 295.4 kB / 463.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4995, allocations: 308.9 kB / 463.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.5011, allocations: 0.773 MB / 464.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.5036, allocations: 1.293 MB / 465.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.5081, allocations: 2.226 MB / 468.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.5081, allocations: 4 kB / 468.2 MB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006078/0.5142, allocations: 2.479 MB / 470.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.5142, allocations: 15.94 kB / 470.7 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/0.5142, allocations: 16 kB / 470.7 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009566/0.5152, allocations: 243.6 kB / 470.9 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.5174, allocations: 419.3 kB / 471.3 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/0.5216, allocations: 3.238 MB / 474.6 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.5241, allocations: 139.8 kB / 474.7 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.5243, allocations: 71.98 kB / 474.8 MB, free: 1.859 MB / 382.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.00224/0.5265, allocations: 0.8095 MB / 475.6 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000562/0.5271, allocations: 194.7 kB / 475.8 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005089/0.5322, allocations: 2.031 MB / 477.8 MB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.5322, allocations: 15.98 kB / 477.8 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.5322, allocations: 0 / 477.8 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.5323, allocations: 11.86 kB / 477.8 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.5423, allocations: 4.726 MB / 482.6 MB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.5423, allocations: 4 kB / 482.6 MB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.5434, allocations: 267.5 kB / 482.8 MB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/0.5439, allocations: 203.5 kB / 483 MB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.544, allocations: 27.94 kB / 483.1 MB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/0.547, allocations: 3.219 MB / 486.3 MB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.547, allocations: 0 / 486.3 MB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/0.5518, allocations: 3.129 MB / 489.4 MB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009819/0.5528, allocations: 435.7 kB / 489.8 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.553, allocations: 31.88 kB / 489.9 MB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.5539, allocations: 91.88 kB / 489.9 MB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.5541, allocations: 84.89 kB / 490 MB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.5542, allocations: 39.92 kB / 490.1 MB, free: 2.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001888/0.5561, allocations: 1.22 MB / 491.3 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5561, allocations: 0 / 491.3 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00153/0.5576, allocations: 491.9 kB / 491.8 MB, free: 384 kB / 398.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.0003624/0.558, allocations: 186.9 kB / 492 MB, free: 184 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003672/0.5617, allocations: 2.274 MB / 494.2 MB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5617, allocations: 2 kB / 494.2 MB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.5635, allocations: 1.268 MB / 495.5 MB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.5654, allocations: 499.2 kB / 496 MB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008034/0.5735, allocations: 4.961 MB / 0.4892 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.5754, allocations: 2.018 MB / 0.4912 GB, free: 4.922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001485/0.5769, allocations: 0.4921 MB / 0.4917 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.5774, allocations: 139.4 kB / 0.4918 GB, free: 4.289 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5774, allocations: 0 / 0.4918 GB, free: 4.289 MB / 414.1 MB Notification: Performance of Templates: time 0.05094/0.6283, allocations: 26.99 MB / 0.5181 GB, free: 9.242 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_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_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.218750256113708]