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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 83.73 kB / 21.97 MB, free: 2.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 166.1 kB / 25.33 MB, free: 9.168 MB / 18.57 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 0.8689/0.8689, allocations: 158.6 MB / 187.2 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|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.[0-9,]+.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.377e-05, allocations: 2.312 kB / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.008924/0.008937, allocations: 10.78 MB / 261.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006765/0.0157, allocations: 3.623 MB / 265.5 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000917/0.01662, allocations: 75.44 kB / 265.5 MB, free: 8.953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.01799, allocations: 0.8187 MB / 266.4 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.01954, allocations: 0.9468 MB / 267.3 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.02015, allocations: 475.2 kB / 267.8 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00238/0.02253, allocations: 3.055 MB / 270.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.02444, allocations: 1.493 MB / 272.3 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005638/0.03008, allocations: 2.484 MB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.03166, allocations: 1.496 MB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003429/0.03508, allocations: 356 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.03573, allocations: 463.7 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007486/0.03647, allocations: 1.052 MB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.03769, allocations: 1.111 MB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005391/0.04308, allocations: 2.608 MB / 281.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.04308, allocations: 0 / 281.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.04308, allocations: 0 / 281.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.22e-05/0.04312, allocations: 0 / 281.9 MB, free: 8.508 MB / 266.7 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.01017/0.05328, allocations: 3.46 MB / 285.3 MB, free: 4.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.05332, allocations: 8.031 kB / 285.3 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.05439, allocations: 0.5496 MB / 285.9 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004996/0.05938, allocations: 1.61 MB / 287.5 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.05952, allocations: 193.4 kB / 287.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.05981, allocations: 252.3 kB / 287.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006052/0.06586, allocations: 1.99 MB / 289.9 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.605e-05/0.06592, allocations: 11.95 kB / 289.9 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.06609, allocations: 96 kB / 290 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.06622, allocations: 129 kB / 290.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005051/0.07127, allocations: 0.9345 MB / 291.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.08926, allocations: 8.524 MB / 299.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.09053, allocations: 0.5633 MB / 300.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.091, allocations: 328.3 kB / 300.5 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.09115, allocations: 56.95 kB / 300.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.09118, allocations: 54.27 kB / 300.6 MB, free: 5.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=97): time 2.815e-06/0.09119, allocations: 11.98 kB / 300.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.005262/0.09645, allocations: 3.602 MB / 304.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.09648, allocations: 64.41 kB / 304.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.09772, allocations: 1.426 MB / 305.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.09778, allocations: 45.7 kB / 305.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009871/0.09876, allocations: 1.407 MB / 307.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.09901, allocations: 448.3 kB / 307.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.09928, allocations: 297.1 kB / 307.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.09938, allocations: 480.8 kB / 308.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.09976, allocations: 247.8 kB / 308.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.1005, allocations: 0.9806 MB / 309.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.1016, allocations: 1.371 MB / 310.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.1017, allocations: 4 kB / 310.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001699/0.1034, allocations: 1.428 MB / 312.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1034, allocations: 12 kB / 312.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.1034, allocations: 16 kB / 312.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/0.1037, allocations: 130.9 kB / 312.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.1044, allocations: 391.4 kB / 312.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.1062, allocations: 3.542 MB / 316.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.1067, allocations: 99.86 kB / 316.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/0.1067, allocations: 75.98 kB / 316.6 MB, free: 4.07 MB / 298.7 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 {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003456/0.1071, allocations: 264 kB / 316.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.1073, allocations: 218.8 kB / 317.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.1085, allocations: 1.006 MB / 318.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1085, allocations: 15.94 kB / 318.1 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1085, allocations: 0 / 318.1 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1085, allocations: 3.984 kB / 318.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.1122, allocations: 3.046 MB / 321.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1122, allocations: 3.938 kB / 321.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.1127, allocations: 231.7 kB / 321.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/0.1129, allocations: 106.6 kB / 321.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.113, allocations: 28.27 kB / 321.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.1142, allocations: 3.526 MB / 325.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1142, allocations: 8.031 kB / 325.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.1158, allocations: 1.468 MB / 326.5 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.1161, allocations: 286.8 kB / 326.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.1162, allocations: 27.92 kB / 326.8 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.1165, allocations: 63.97 kB / 326.9 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1166, allocations: 88.78 kB / 327 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.1167, allocations: 39.92 kB / 327 MB, free: 9.184 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009548/0.1176, allocations: 0.7977 MB / 327.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1176, allocations: 0 / 327.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008077/0.1184, allocations: 471.9 kB / 328.3 MB, free: 7.93 MB / 314.7 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 {(1,2,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.0002579/0.1187, allocations: 191 kB / 328.5 MB, free: 7.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.12, allocations: 1.297 MB / 329.8 MB, free: 6.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.12, allocations: 4 kB / 329.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.1207, allocations: 0.8158 MB / 330.6 MB, free: 5.527 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.1218, allocations: 459.5 kB / 331 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.1264, allocations: 4.143 MB / 335.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.1268, allocations: 0.6494 MB / 335.8 MB, free: 168 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006846/0.1275, allocations: 386.7 kB / 336.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.1277, allocations: 124.5 kB / 336.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1277, allocations: 0 / 336.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of Templates: time 0.125/0.2528, allocations: 24.18 MB / 360.5 MB, free: 91.48 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.461996965110302]