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.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.001074/0.001074, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001704/0.002778, 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.001115/0.001115, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002508, 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.9074/0.9074, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1376/1.045, allocations: 49.48 MB / 220.5 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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smee.is.[0-9,]+.|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=400,variableFilter="time|smee.is.[0-9,]+.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.482e-05, allocations: 6.25 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01155/0.01157, allocations: 8.819 MB / 230.7 MB, free: 7.293 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006587/0.01816, allocations: 3.252 MB / 233.9 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.01926, allocations: 51.69 kB / 234 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.02088, allocations: 0.6638 MB / 234.6 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.02271, allocations: 0.78 MB / 235.4 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.02335, allocations: 327.3 kB / 235.7 MB, free: 2.203 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.02565, allocations: 2.202 MB / 237.9 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009957/0.02664, allocations: 0.8202 MB / 238.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.029, allocations: 1.657 MB / 240.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.03031, allocations: 0.9741 MB / 241.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004008/0.03071, allocations: 224 kB / 241.6 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.03139, allocations: 327.7 kB / 241.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.0319, allocations: 0.561 MB / 242.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009834/0.03288, allocations: 0.6044 MB / 243.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.03469, allocations: 1.577 MB / 244.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.03471, allocations: 0 / 244.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.03471, allocations: 0 / 244.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.167e-05/0.03475, allocations: 4 kB / 244.7 MB, free: 9.164 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.002831/0.03758, allocations: 2.444 MB / 247.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.03761, allocations: 16.02 kB / 247.1 MB, free: 6.668 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.03821, allocations: 365.8 kB / 247.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.03938, allocations: 0.8126 MB / 248.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.03946, allocations: 111.5 kB / 248.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.03967, allocations: 164.3 kB / 248.6 MB, free: 5.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.04114, allocations: 1.19 MB / 249.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.04118, allocations: 3.953 kB / 249.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.04129, allocations: 64 kB / 249.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-05/0.04137, allocations: 74.91 kB / 249.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.04241, allocations: 476.1 kB / 250.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/0.04785, allocations: 4.878 MB / 255.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.04824, allocations: 249.1 kB / 255.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.04835, allocations: 82.31 kB / 255.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.04847, allocations: 40.42 kB / 255.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.0485, allocations: 42.98 kB / 255.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.375e-06/0.0485, allocations: 0 / 255.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.00378/0.05228, allocations: 1.716 MB / 257.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001331/0.05362, allocations: 1.873 MB / 259.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/0.0546, allocations: 1.152 MB / 260.4 MB, free: 8.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.05463, allocations: 37.7 kB / 260.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.0551, allocations: 0.9092 MB / 261.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.05525, allocations: 250 kB / 261.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.05556, allocations: 307.2 kB / 261.9 MB, free: 7.227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.05563, allocations: 309.2 kB / 262.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.05598, allocations: 186.8 kB / 262.4 MB, free: 6.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008166/0.05679, allocations: 1.121 MB / 263.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.05828, allocations: 1.48 MB / 265 MB, free: 3.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.05829, allocations: 15.94 kB / 265 MB, free: 3.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001634/0.05993, allocations: 1.211 MB / 266.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.05995, allocations: 20 kB / 266.2 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.05998, allocations: 32 kB / 266.2 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.06023, allocations: 119.7 kB / 266.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/0.06114, allocations: 419.3 kB / 266.8 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007723/0.06191, allocations: 1.299 MB / 268.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.06274, allocations: 115.7 kB / 268.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-05/0.06283, allocations: 80 kB / 268.2 MB, free: 15.77 MB / 282.7 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003482/0.06318, allocations: 251.7 kB / 268.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.06334, allocations: 99.89 kB / 268.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007874/0.06413, allocations: 0.51 MB / 269.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.06413, allocations: 4 kB / 269.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.06414, allocations: 4.062 kB / 269.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.06415, allocations: 7.984 kB / 269.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.06717, allocations: 2.161 MB / 271.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.06718, allocations: 8.031 kB / 271.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.06748, allocations: 103.8 kB / 271.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.06774, allocations: 171 kB / 271.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.06815, allocations: 183.3 kB / 271.7 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.06818, allocations: 23.92 kB / 271.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.07008, allocations: 2.951 MB / 274.7 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001129/0.07121, allocations: 1.814 MB / 276.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009899/0.0722, allocations: 0.8489 MB / 277.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.07233, allocations: 20 kB / 277.4 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.0727, allocations: 28.02 kB / 277.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/0.07302, allocations: 63.78 kB / 277.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.07306, allocations: 23.98 kB / 277.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005277/0.07359, allocations: 0.5125 MB / 278 MB, free: 5.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07359, allocations: 0 / 278 MB, free: 5.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001235/0.07482, allocations: 375.9 kB / 278.4 MB, free: 5.004 MB / 282.7 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 {(1,2,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.0002459/0.07507, allocations: 160.2 kB / 278.5 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.07616, allocations: 0.8395 MB / 279.4 MB, free: 3.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.163e-05/0.07622, allocations: 31.84 kB / 279.4 MB, free: 3.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005415/0.07676, allocations: 0.4973 MB / 279.9 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.07792, allocations: 494 kB / 280.4 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.09037, allocations: 2.818 MB / 283.2 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08988/0.1802, allocations: 361.2 kB / 283.6 MB, free: 48.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009607/0.1812, allocations: 216 kB / 283.8 MB, free: 48.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007102/0.1819, allocations: 374.8 kB / 284.1 MB, free: 48.35 MB / 282.7 MB Notification: Performance of SimCode: time 1.773e-06/0.1819, allocations: 0 / 284.1 MB, free: 48.35 MB / 282.7 MB Notification: Performance of Templates: time 0.03009/0.212, allocations: 21.18 MB / 305.3 MB, free: 38.57 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_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_NoLoad/SMPM_NoLoad.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.078305614180863]