Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001931/0.001931, allocations: 85.94 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0024/0.0024, allocations: 157.7 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.528e-05, allocations: 6.219 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01115/0.01117, allocations: 8.093 MB / 333.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.01788, allocations: 2.981 MB / 336.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.01945, allocations: 60.88 kB / 336.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.02174, allocations: 0.6555 MB / 336.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.02489, allocations: 0.7922 MB / 337.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.02591, allocations: 318.3 kB / 337.9 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003308/0.02922, allocations: 2.215 MB / 340.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.03089, allocations: 0.8055 MB / 340.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.03396, allocations: 1.388 MB / 342.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.03607, allocations: 0.9702 MB / 343.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005874/0.03666, allocations: 232 kB / 343.5 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.03777, allocations: 327.8 kB / 343.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.03884, allocations: 0.7128 MB / 344.6 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.04033, allocations: 0.7444 MB / 345.3 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.04436, allocations: 3.17 MB / 348.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.04437, allocations: 0 / 348.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04437, allocations: 0 / 348.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.646e-05/0.04443, allocations: 0 / 348.5 MB, free: 13.48 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004676/0.0491, allocations: 2.262 MB / 350.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.04914, allocations: 15.92 kB / 350.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007324/0.04987, allocations: 247.5 kB / 351 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.05211, allocations: 1.175 MB / 352.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.05222, allocations: 115.5 kB / 352.3 MB, free: 9.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.05248, allocations: 152.4 kB / 352.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/0.05622, allocations: 2.116 MB / 354.5 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.428e-05/0.05627, allocations: 11.94 kB / 354.6 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.05644, allocations: 67.94 kB / 354.6 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.05654, allocations: 74.94 kB / 354.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003639/0.06018, allocations: 1.678 MB / 356.4 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.07029, allocations: 6.185 MB / 362.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009582/0.07125, allocations: 453.9 kB / 363 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.07174, allocations: 262.2 kB / 363.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.07195, allocations: 40.41 kB / 363.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.072, allocations: 43.47 kB / 363.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.072, allocations: 0 / 363.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.007617/0.07962, allocations: 2.906 MB / 366.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.07966, allocations: 56.06 kB / 366.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.08187, allocations: 1.543 MB / 367.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.08193, allocations: 37.7 kB / 367.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008589/0.08279, allocations: 1.064 MB / 368.9 MB, free: 8.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.08303, allocations: 246 kB / 369.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004885/0.08351, allocations: 311.4 kB / 369.5 MB, free: 7.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.08366, allocations: 309.1 kB / 369.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009905/0.08465, allocations: 0.5231 MB / 370.3 MB, free: 7.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.08646, allocations: 1.458 MB / 371.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/0.08945, allocations: 2.132 MB / 373.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.08947, allocations: 12 kB / 373.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004081/0.09355, allocations: 2.152 MB / 376.1 MB, free: 380 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.09358, allocations: 20 kB / 376.1 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/0.09362, allocations: 32 kB / 376.1 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.09424, allocations: 226.4 kB / 376.3 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.09551, allocations: 403.3 kB / 376.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.09744, allocations: 1.717 MB / 378.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.09899, allocations: 143.7 kB / 378.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.09913, allocations: 95.98 kB / 378.7 MB, free: 13.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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.001026/0.1002, allocations: 0.5893 MB / 379.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.1004, allocations: 151.1 kB / 379.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.1027, allocations: 1.08 MB / 380.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1027, allocations: 8 kB / 380.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1027, allocations: 0 / 380.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.1027, allocations: 7.922 kB / 380.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/0.1074, allocations: 2.388 MB / 382.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1074, allocations: 0 / 382.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.1079, allocations: 120 kB / 383 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004975/0.1084, allocations: 166.4 kB / 383.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.1085, allocations: 16 kB / 383.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.1103, allocations: 1.659 MB / 384.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.1103, allocations: 7.969 kB / 384.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/0.1132, allocations: 1.619 MB / 386.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.1138, allocations: 211.1 kB / 386.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.114, allocations: 19.92 kB / 386.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.1147, allocations: 55.94 kB / 386.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.1148, allocations: 48.34 kB / 386.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.1149, allocations: 20 kB / 386.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.1164, allocations: 0.9739 MB / 387.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1164, allocations: 0 / 387.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00148/0.1179, allocations: 363.9 kB / 388.2 MB, free: 3.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.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 (60): * Single equations (assignments): 57 * 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 Backend phase and start with SimCode phase: time 0.0003551/0.1182, allocations: 163 kB / 388.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.121, allocations: 1.421 MB / 389.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.121, allocations: 0 / 389.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.1222, allocations: 0.5811 MB / 390.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.1238, allocations: 354.6 kB / 390.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.1287, allocations: 2.948 MB / 393.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.1297, allocations: 0.8817 MB / 394.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008813/0.1306, allocations: 341 kB / 394.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.1309, allocations: 104.5 kB / 394.9 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1309, allocations: 4 kB / 394.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of Templates: time 0.03695/0.1679, allocations: 18.72 MB / 413.7 MB, free: 10.55 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.039064582437277]