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.001232/0.001232, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001887/0.003119, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001258/0.001258, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.00253, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8906/0.8906, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1371/1.028, allocations: 49.48 MB / 220.6 MB, free: 1.449 MB / 218.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.533e-06/1.533e-06, allocations: 0 / 221.9 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.99e-05, allocations: 2.312 kB / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.008328/0.008348, allocations: 10.58 MB / 232.4 MB, free: 5.512 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005802/0.01415, allocations: 3.765 MB / 236.2 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.01518, allocations: 79.44 kB / 236.3 MB, free: 1.656 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.01648, allocations: 0.8304 MB / 237.1 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.01811, allocations: 0.9429 MB / 238.1 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.0189, allocations: 479.1 kB / 238.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.0211, allocations: 3.062 MB / 241.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.02241, allocations: 1.524 MB / 243.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.02463, allocations: 2.656 MB / 245.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.02578, allocations: 1.496 MB / 247.3 MB, free: 6.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.02612, allocations: 356 kB / 247.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005141/0.02663, allocations: 459.8 kB / 248.1 MB, free: 5.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000529/0.02716, allocations: 0.8689 MB / 248.9 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007142/0.02787, allocations: 0.9123 MB / 249.8 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.02961, allocations: 2.449 MB / 252.3 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.02962, allocations: 0 / 252.3 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.02962, allocations: 3.938 kB / 252.3 MB, free: 1.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.757e-05/0.02966, allocations: 0 / 252.3 MB, free: 1.504 MB / 250.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.003117/0.03278, allocations: 3.677 MB / 256 MB, free: 13.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.03281, allocations: 12.03 kB / 256 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.03342, allocations: 0.5055 MB / 256.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.03469, allocations: 1.202 MB / 257.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/0.03478, allocations: 189.4 kB / 257.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.03501, allocations: 252.3 kB / 258.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.03732, allocations: 1.858 MB / 260 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/0.03737, allocations: 11.94 kB / 260 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.03755, allocations: 104 kB / 260.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.03766, allocations: 128.9 kB / 260.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.03899, allocations: 0.7433 MB / 261 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008044/0.04703, allocations: 6.946 MB / 267.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.04774, allocations: 0.5062 MB / 268.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.04814, allocations: 268.4 kB / 268.7 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.0483, allocations: 52.97 kB / 268.7 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.04833, allocations: 43.56 kB / 268.8 MB, free: 396 kB / 266.7 MB Notification: Performance of pre-optimization done (n=97): time 2.645e-06/0.04833, allocations: 0 / 268.8 MB, free: 396 kB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.006012/0.05434, allocations: 3.013 MB / 271.8 MB, free: 13.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.05438, allocations: 76.34 kB / 271.9 MB, free: 13.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.05543, allocations: 1.168 MB / 273 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.0555, allocations: 41.7 kB / 273.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005754/0.05607, allocations: 1.101 MB / 274.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.05634, allocations: 440.2 kB / 274.6 MB, free: 10.47 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.05667, allocations: 283.3 kB / 274.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.05674, allocations: 305.1 kB / 275.2 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.05704, allocations: 178.7 kB / 275.3 MB, free: 9.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.0576, allocations: 0.6875 MB / 276 MB, free: 8.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.05865, allocations: 1.056 MB / 277.1 MB, free: 7.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.05866, allocations: 4 kB / 277.1 MB, free: 7.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001442/0.0601, allocations: 1.031 MB / 278.1 MB, free: 6.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.06013, allocations: 15.94 kB / 278.1 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.06014, allocations: 16.62 kB / 278.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002794/0.06042, allocations: 119.8 kB / 278.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.06147, allocations: 407.4 kB / 278.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.06282, allocations: 2.434 MB / 281.1 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.06341, allocations: 68 kB / 281.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.0635, allocations: 55.98 kB / 281.2 MB, free: 3.145 MB / 282.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.0003774/0.06388, allocations: 224 kB / 281.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.06409, allocations: 143.8 kB / 281.6 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.06523, allocations: 0.7669 MB / 282.3 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.06524, allocations: 12 kB / 282.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.06524, allocations: 4.141 kB / 282.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.06526, allocations: 11.95 kB / 282.4 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1051/0.1704, allocations: 2.106 MB / 284.5 MB, free: 46.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.1704, allocations: 5.141 kB / 284.5 MB, free: 46.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.171, allocations: 243 kB / 284.7 MB, free: 46.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006768/0.1717, allocations: 221.5 kB / 284.9 MB, free: 46.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003741/0.1721, allocations: 153.6 kB / 285.1 MB, free: 46.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.1721, allocations: 23.98 kB / 285.1 MB, free: 46.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008048/0.1729, allocations: 2.395 MB / 287.5 MB, free: 44.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1729, allocations: 6.812 kB / 287.5 MB, free: 44.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.1741, allocations: 1.103 MB / 288.6 MB, free: 44.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.1742, allocations: 23.62 kB / 288.6 MB, free: 44.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.1746, allocations: 40.66 kB / 288.7 MB, free: 44.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.1747, allocations: 85.27 kB / 288.8 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.1747, allocations: 27 kB / 288.8 MB, free: 44.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004952/0.1752, allocations: 0.5817 MB / 289.4 MB, free: 44.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1752, allocations: 0 / 289.4 MB, free: 44.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009634/0.1762, allocations: 466.3 kB / 289.8 MB, free: 44.26 MB / 282.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.0002384/0.1764, allocations: 173.2 kB / 290 MB, free: 44.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009964/0.1774, allocations: 0.9859 MB / 291 MB, free: 43.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.391e-05/0.1774, allocations: 32.31 kB / 291 MB, free: 43.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.1779, allocations: 0.5915 MB / 291.6 MB, free: 43.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009786/0.1789, allocations: 0.5615 MB / 292.2 MB, free: 43.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.1922, allocations: 4.246 MB / 296.4 MB, free: 41.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.1927, allocations: 0.5779 MB / 297 MB, free: 41.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006288/0.1933, allocations: 247.6 kB / 297.2 MB, free: 41.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/0.194, allocations: 449.9 kB / 297.7 MB, free: 41.62 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.194, allocations: 3.562 kB / 297.7 MB, free: 41.62 MB / 282.7 MB Notification: Performance of Templates: time 0.02581/0.2198, allocations: 25.9 MB / 323.6 MB, free: 21.83 MB / 282.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 -ignoreHideResult -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.366556270979345]