Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.001351/0.001351, allocations: 81.06 kB / 20.68 MB, free: 1.035 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.001385/0.001385, allocations: 155.7 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.018e-05, allocations: 2.281 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01453/0.01456, allocations: 7.975 MB / 326.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009471/0.02403, allocations: 2.95 MB / 329.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.02602, allocations: 56.28 kB / 329.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.02909, allocations: 0.665 MB / 330.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.03306, allocations: 0.7765 MB / 331.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.03447, allocations: 329.9 kB / 331.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004584/0.03905, allocations: 2.19 MB / 333.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.04144, allocations: 0.7908 MB / 334.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003581/0.04502, allocations: 1.361 MB / 336 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.04797, allocations: 0.9672 MB / 337 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008483/0.04882, allocations: 229.7 kB / 337.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.05042, allocations: 323.1 kB / 337.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.0519, allocations: 0.7024 MB / 338.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.05449, allocations: 0.7462 MB / 339 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006273/0.06076, allocations: 3.132 MB / 342.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.06076, allocations: 0 / 342.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.06077, allocations: 0 / 342.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.323e-05/0.06086, allocations: 0 / 342.1 MB, free: 4.449 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.007195/0.06806, allocations: 2.227 MB / 344.3 MB, free: 2.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.0681, allocations: 8.922 kB / 344.3 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009869/0.06909, allocations: 235.6 kB / 344.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.07165, allocations: 1.151 MB / 345.7 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.07176, allocations: 123.5 kB / 345.8 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.07202, allocations: 152.4 kB / 346 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003426/0.07544, allocations: 2.088 MB / 348.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/0.07549, allocations: 11.94 kB / 348.1 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.07565, allocations: 60 kB / 348.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.249e-05/0.07574, allocations: 74.92 kB / 348.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.07854, allocations: 1.651 MB / 349.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009433/0.08797, allocations: 6.056 MB / 355.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.08878, allocations: 430.7 kB / 356.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.08918, allocations: 246.2 kB / 356.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.08937, allocations: 40.47 kB / 356.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.0894, allocations: 43 kB / 356.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.08941, allocations: 0 / 356.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007396/0.0968, allocations: 3.152 MB / 359.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002584/0.09939, allocations: 2.192 MB / 362 MB, free: 15.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.1015, allocations: 1.518 MB / 363.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/0.1016, allocations: 37.7 kB / 363.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/0.1024, allocations: 1.052 MB / 364.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.1026, allocations: 246 kB / 364.9 MB, free: 13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004565/0.1031, allocations: 319.3 kB / 365.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1032, allocations: 301.1 kB / 365.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008438/0.104, allocations: 0.5192 MB / 366 MB, free: 11.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.1057, allocations: 1.468 MB / 367.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/0.1083, allocations: 2.131 MB / 369.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.1083, allocations: 15.94 kB / 369.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003792/0.1121, allocations: 2.156 MB / 371.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.1122, allocations: 23.12 kB / 371.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/0.1122, allocations: 32 kB / 371.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/0.1128, allocations: 222.4 kB / 372 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.114, allocations: 399.2 kB / 372.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.116, allocations: 1.721 MB / 374.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.1173, allocations: 143.7 kB / 374.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.1174, allocations: 92.12 kB / 374.4 MB, free: 2.414 MB / 334.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.0009231/0.1183, allocations: 0.599 MB / 375 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.1185, allocations: 151 kB / 375.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.1206, allocations: 1.095 MB / 376.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1206, allocations: 4 kB / 376.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1206, allocations: 7.938 kB / 376.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.1206, allocations: 7.984 kB / 376.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/0.1259, allocations: 3.01 MB / 379.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.1259, allocations: 4 kB / 379.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.1263, allocations: 111.8 kB / 379.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006588/0.127, allocations: 218.4 kB / 379.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.127, allocations: 16 kB / 379.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/0.1313, allocations: 3.798 MB / 383.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002188/0.1335, allocations: 2.016 MB / 385.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.1362, allocations: 1.731 MB / 387.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.1368, allocations: 226.8 kB / 387.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.1369, allocations: 19.98 kB / 387.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.1376, allocations: 48.02 kB / 387.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.1377, allocations: 71.7 kB / 387.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.1378, allocations: 24 kB / 387.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.1392, allocations: 0.9615 MB / 388.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1393, allocations: 0 / 388.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001628/0.1409, allocations: 376 kB / 388.8 MB, free: 3.348 MB / 350.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.0003568/0.1412, allocations: 187 kB / 389 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00254/0.1438, allocations: 1.413 MB / 390.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1438, allocations: 0 / 390.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.1452, allocations: 0.7529 MB / 391.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.1469, allocations: 356.3 kB / 391.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.152, allocations: 3.156 MB / 394.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.1531, allocations: 0.8965 MB / 395.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000918/0.154, allocations: 332.9 kB / 395.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.1543, allocations: 108.4 kB / 396 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1543, allocations: 0 / 396 MB, free: 11.96 MB / 366.1 MB Notification: Performance of Templates: time 0.03737/0.1917, allocations: 19.48 MB / 415.5 MB, free: 8.781 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.88069686293602]