Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.001272/0.001272, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001349/0.001349, allocations: 169.6 kB / 24.91 MB, free: 8.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8861/0.8861, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_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.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.794e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007035/0.007052, allocations: 8.858 MB / 282.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004503/0.01156, allocations: 3.197 MB / 285.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.0123, allocations: 55.69 kB / 285.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.01348, allocations: 0.6754 MB / 286.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.01491, allocations: 0.7878 MB / 287 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.01536, allocations: 323.4 kB / 287.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.01683, allocations: 2.231 MB / 289.6 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007255/0.01755, allocations: 0.8325 MB / 290.4 MB, free: 212 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1001/0.1176, allocations: 1.518 MB / 291.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.1192, allocations: 0.9894 MB / 292.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004852/0.1196, allocations: 225.5 kB / 293.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006369/0.1203, allocations: 314.7 kB / 293.4 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005681/0.1208, allocations: 0.6853 MB / 294.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.122, allocations: 0.7373 MB / 294.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.1241, allocations: 1.7 MB / 296.6 MB, free: 16.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1241, allocations: 1 kB / 296.6 MB, free: 16.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1241, allocations: 3.891 kB / 296.6 MB, free: 16.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.163e-05/0.1242, allocations: 0 / 296.6 MB, free: 16.49 MB / 266.7 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.003248/0.1274, allocations: 2.097 MB / 298.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1275, allocations: 10.91 kB / 298.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/0.1282, allocations: 302.5 kB / 299 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.1296, allocations: 0.8638 MB / 299.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.1297, allocations: 117.2 kB / 299.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.1299, allocations: 156.6 kB / 300.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.1315, allocations: 1.207 MB / 301.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.1315, allocations: 9.016 kB / 301.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.1317, allocations: 69.88 kB / 301.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.952e-05/0.1317, allocations: 75.73 kB / 301.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009099/0.1327, allocations: 474.3 kB / 301.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.1377, allocations: 4.981 MB / 306.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.138, allocations: 256.6 kB / 307.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1381, allocations: 87.53 kB / 307.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.1382, allocations: 35.55 kB / 307.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.1383, allocations: 37.88 kB / 307.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.324e-06/0.1383, allocations: 0 / 307.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002329/0.1406, allocations: 1.318 MB / 308.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.695e-05/0.1406, allocations: 58.44 kB / 308.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008317/0.1414, allocations: 1.172 MB / 309.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.1415, allocations: 36.92 kB / 309.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.1418, allocations: 0.9112 MB / 310.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1419, allocations: 247.3 kB / 311 MB, free: 9.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.1421, allocations: 315.1 kB / 311.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.076e-05/0.1422, allocations: 309 kB / 311.6 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.1424, allocations: 158.8 kB / 311.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.1428, allocations: 1.071 MB / 312.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.1437, allocations: 1.43 MB / 314.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.1437, allocations: 14.06 kB / 314.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001321/0.145, allocations: 1.172 MB / 315.5 MB, free: 5.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.1451, allocations: 20 kB / 315.5 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.1451, allocations: 32 kB / 315.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.1453, allocations: 121.7 kB / 315.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.1461, allocations: 381.5 kB / 316 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005412/0.1466, allocations: 1.283 MB / 317.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.1474, allocations: 115.7 kB / 317.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/0.1475, allocations: 80.55 kB / 317.5 MB, free: 3.629 MB / 266.7 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.1477, allocations: 245.7 kB / 317.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.1479, allocations: 107.9 kB / 317.9 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005976/0.1485, allocations: 481.1 kB / 318.3 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1485, allocations: 10.81 kB / 318.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1485, allocations: 7.938 kB / 318.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1485, allocations: 3.984 kB / 318.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.1501, allocations: 1.418 MB / 319.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1501, allocations: 3.938 kB / 319.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.1504, allocations: 107.2 kB / 319.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.1507, allocations: 126.5 kB / 320 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.1507, allocations: 12 kB / 320 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004684/0.1512, allocations: 1.233 MB / 321.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1512, allocations: 3.938 kB / 321.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.152, allocations: 0.6961 MB / 321.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.1523, allocations: 160.3 kB / 322.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.1524, allocations: 12 kB / 322.1 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.1527, allocations: 32.05 kB / 322.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.1528, allocations: 54.36 kB / 322.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.1529, allocations: 12 kB / 322.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005298/0.1534, allocations: 0.5262 MB / 322.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1534, allocations: 0 / 322.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001097/0.1545, allocations: 352 kB / 323.1 MB, free: 14.1 MB / 282.7 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000241/0.1547, allocations: 151.1 kB / 323.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009753/0.1557, allocations: 0.8029 MB / 324 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.157e-05/0.1558, allocations: 27.84 kB / 324.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.1561, allocations: 320.9 kB / 324.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.1572, allocations: 367.7 kB / 324.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.1608, allocations: 2.551 MB / 327.3 MB, free: 9.973 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1612, allocations: 354.5 kB / 327.6 MB, free: 9.598 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000558/0.1618, allocations: 201.2 kB / 327.8 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/0.1624, allocations: 377 kB / 328.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1624, allocations: 0 / 328.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of Templates: time 0.02888/0.1913, allocations: 19.25 MB / 347.4 MB, free: 6.191 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.773737359326333]