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.00133/0.00133, allocations: 85 kB / 21.44 MB, free: 296 kB / 14.72 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.001396/0.001396, allocations: 162.5 kB / 24.7 MB, free: 3.551 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.27/1.27, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 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.1.|smee.is.2.|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.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.894e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01062/0.01065, allocations: 7.949 MB / 306.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006401/0.01705, allocations: 3.012 MB / 309.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.01823, allocations: 51.62 kB / 310 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.0201, allocations: 0.6638 MB / 310.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.0224, allocations: 0.7606 MB / 311.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.02323, allocations: 331.4 kB / 311.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.02616, allocations: 2.186 MB / 313.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.02742, allocations: 0.789 MB / 314.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.02945, allocations: 1.349 MB / 316 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.03102, allocations: 0.9702 MB / 317 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000357/0.03138, allocations: 232 kB / 317.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006002/0.03198, allocations: 319.8 kB / 317.6 MB, free: 6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007519/0.03273, allocations: 0.7049 MB / 318.3 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00089/0.03362, allocations: 0.7444 MB / 319 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003382/0.037, allocations: 3.143 MB / 322.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.037, allocations: 0 / 322.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.03701, allocations: 0 / 322.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.64e-05/0.03704, allocations: 0 / 322.1 MB, free: 1.395 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.1436/0.1807, allocations: 2.213 MB / 324.4 MB, free: 33.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1807, allocations: 14.78 kB / 324.4 MB, free: 33.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006356/0.1813, allocations: 242.8 kB / 324.6 MB, free: 33.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.1833, allocations: 1.093 MB / 325.7 MB, free: 32.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.1834, allocations: 119 kB / 325.8 MB, free: 32.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.1836, allocations: 157.9 kB / 326 MB, free: 32.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.1866, allocations: 2.08 MB / 328.1 MB, free: 31.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.1866, allocations: 3.969 kB / 328.1 MB, free: 31.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.1868, allocations: 68.61 kB / 328.1 MB, free: 31.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-05/0.1869, allocations: 76.56 kB / 328.2 MB, free: 31.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.1894, allocations: 1.647 MB / 329.8 MB, free: 31.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009349/0.1988, allocations: 6.059 MB / 335.9 MB, free: 27.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.1996, allocations: 428.3 kB / 336.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.1999, allocations: 247.7 kB / 336.6 MB, free: 27.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.2001, allocations: 44.22 kB / 336.6 MB, free: 27.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2001, allocations: 39.03 kB / 336.6 MB, free: 27.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.805e-06/0.2001, allocations: 3.969 kB / 336.7 MB, free: 27.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.006969/0.2071, allocations: 3.157 MB / 339.8 MB, free: 25.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0019/0.209, allocations: 2.175 MB / 342 MB, free: 23.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.2109, allocations: 1.523 MB / 343.5 MB, free: 22.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.2109, allocations: 33.7 kB / 343.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.2113, allocations: 1.057 MB / 344.6 MB, free: 22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.2115, allocations: 245.7 kB / 344.8 MB, free: 21.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.2118, allocations: 324 kB / 345.2 MB, free: 21.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 2.832e-05/0.2118, allocations: 301.1 kB / 345.4 MB, free: 21.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006078/0.2124, allocations: 0.5128 MB / 346 MB, free: 20.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009462/0.2134, allocations: 1.467 MB / 347.4 MB, free: 18.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.2151, allocations: 2.139 MB / 349.6 MB, free: 16.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.2151, allocations: 12 kB / 349.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002845/0.2179, allocations: 2.149 MB / 351.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.2179, allocations: 30.7 kB / 351.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.218, allocations: 34.81 kB / 351.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004706/0.2184, allocations: 227.4 kB / 352 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.2194, allocations: 391.3 kB / 352.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.2206, allocations: 1.721 MB / 354.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.2221, allocations: 144.5 kB / 354.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.2222, allocations: 95.98 kB / 354.3 MB, free: 11.46 MB / 302.1 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008218/0.2231, allocations: 0.5828 MB / 354.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.2233, allocations: 147.1 kB / 355.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.225, allocations: 1.097 MB / 356.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.225, allocations: 4 kB / 356.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.225, allocations: 7.984 kB / 356.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.225, allocations: 0 / 356.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/0.2296, allocations: 3.021 MB / 359.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.2296, allocations: 11.73 kB / 359.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.23, allocations: 113.6 kB / 359.3 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/0.2305, allocations: 226.3 kB / 359.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.2306, allocations: 16 kB / 359.6 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.2334, allocations: 3.793 MB / 363.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001483/0.2349, allocations: 2.028 MB / 365.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.2378, allocations: 1.735 MB / 367.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008221/0.2386, allocations: 223 kB / 367.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.2388, allocations: 16 kB / 367.4 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/0.2395, allocations: 51.88 kB / 367.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.2397, allocations: 70.73 kB / 367.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.2397, allocations: 28 kB / 367.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.2414, allocations: 0.9576 MB / 368.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2414, allocations: 0 / 368.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001897/0.2433, allocations: 383.9 kB / 368.8 MB, free: 12.43 MB / 318.1 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 {(2,1,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.0003637/0.2437, allocations: 171 kB / 369 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.2462, allocations: 1.41 MB / 370.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2463, allocations: 0 / 370.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.2476, allocations: 0.7488 MB / 371.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.2494, allocations: 357.4 kB / 371.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.2548, allocations: 3.158 MB / 374.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.2559, allocations: 0.8887 MB / 375.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001121/0.2571, allocations: 336.9 kB / 375.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.2574, allocations: 108.5 kB / 376 MB, free: 5.09 MB / 318.1 MB Notification: Performance of SimCode: time 1.273e-06/0.2574, allocations: 0 / 376 MB, free: 5.09 MB / 318.1 MB Notification: Performance of Templates: time 0.04021/0.2976, allocations: 19.5 MB / 395.5 MB, free: 1.574 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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: 4.7158982418477535]