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.00111/0.00111, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002551, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001046/0.001046, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002445, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9725/0.9725, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08329/1.056, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.184e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.006951/0.006963, allocations: 8.967 MB / 254 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004953/0.01192, allocations: 3.232 MB / 257.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.0124, allocations: 55.62 kB / 257.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.01341, allocations: 0.6677 MB / 257.9 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.01487, allocations: 0.7877 MB / 258.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.01558, allocations: 319.4 kB / 259 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.01774, allocations: 2.233 MB / 261.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009756/0.01872, allocations: 0.8324 MB / 262.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.02088, allocations: 1.693 MB / 263.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.02205, allocations: 1.001 MB / 264.8 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000406/0.02245, allocations: 224 kB / 265 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.023, allocations: 323.8 kB / 265.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004472/0.02345, allocations: 0.5688 MB / 265.9 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007448/0.02419, allocations: 0.6083 MB / 266.5 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.02571, allocations: 1.604 MB / 268.1 MB, free: 6.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.02573, allocations: 0 / 268.1 MB, free: 6.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02573, allocations: 0 / 268.1 MB, free: 6.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.694e-05/0.02577, allocations: 0 / 268.1 MB, free: 6.375 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.002412/0.02818, allocations: 2.491 MB / 270.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.02821, allocations: 8.625 kB / 270.6 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005149/0.02873, allocations: 393.7 kB / 271 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.02973, allocations: 0.8716 MB / 271.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.02979, allocations: 115.5 kB / 272 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.02993, allocations: 156.3 kB / 272.1 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.03109, allocations: 1.21 MB / 273.3 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.03113, allocations: 7.984 kB / 273.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.03121, allocations: 60 kB / 273.4 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.03127, allocations: 78.92 kB / 273.5 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.03187, allocations: 476.2 kB / 274 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/0.1438, allocations: 4.997 MB / 279 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.1443, allocations: 253.1 kB / 279.2 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1444, allocations: 87.5 kB / 279.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.1445, allocations: 39.48 kB / 279.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1446, allocations: 38.47 kB / 279.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.946e-06/0.1446, allocations: 1.844 kB / 279.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002769/0.1473, allocations: 1.309 MB / 280.7 MB, free: 17.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.1474, allocations: 58.53 kB / 280.7 MB, free: 17.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.1485, allocations: 1.178 MB / 281.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1485, allocations: 36.23 kB / 281.9 MB, free: 16.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.1489, allocations: 0.9189 MB / 282.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.149, allocations: 244.9 kB / 283.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.1493, allocations: 310.8 kB / 283.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.532e-05/0.1494, allocations: 307 kB / 283.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1496, allocations: 162.5 kB / 283.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.1501, allocations: 1.068 MB / 284.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.1513, allocations: 1.438 MB / 286.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.1513, allocations: 9.156 kB / 286.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001693/0.153, allocations: 1.177 MB / 287.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.153, allocations: 23.56 kB / 287.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/0.1531, allocations: 33.86 kB / 287.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002804/0.1533, allocations: 116.2 kB / 287.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.1542, allocations: 425 kB / 288.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006087/0.1548, allocations: 1.295 MB / 289.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008079/0.1557, allocations: 106.9 kB / 289.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.1558, allocations: 82.81 kB / 289.6 MB, free: 11.81 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.0003061/0.1561, allocations: 243.7 kB / 289.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.1562, allocations: 106.4 kB / 290 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/0.1569, allocations: 485 kB / 290.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1569, allocations: 6.531 kB / 290.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1569, allocations: 1.062 kB / 290.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1569, allocations: 3.938 kB / 290.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1586, allocations: 1.432 MB / 291.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1587, allocations: 0 / 291.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.1589, allocations: 124.5 kB / 292 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.1591, allocations: 151.5 kB / 292.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.1593, allocations: 136.3 kB / 292.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1593, allocations: 14.41 kB / 292.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003874/0.1597, allocations: 1.224 MB / 293.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1597, allocations: 10.94 kB / 293.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.1602, allocations: 0.6949 MB / 294.2 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/0.1603, allocations: 13.64 kB / 294.2 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.1606, allocations: 26.69 kB / 294.3 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.1606, allocations: 49.91 kB / 294.3 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1607, allocations: 14.66 kB / 294.3 MB, free: 9.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003461/0.161, allocations: 0.5321 MB / 294.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.161, allocations: 0 / 294.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006993/0.1617, allocations: 348 kB / 295.2 MB, free: 9.34 MB / 266.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.0002465/0.162, allocations: 154.6 kB / 295.3 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007246/0.1627, allocations: 0.7976 MB / 296.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.207e-05/0.1627, allocations: 37.78 kB / 296.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.163, allocations: 331.2 kB / 296.5 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.1638, allocations: 482.3 kB / 297 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.1751, allocations: 2.603 MB / 299.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.1753, allocations: 363.2 kB / 299.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004903/0.1758, allocations: 209.1 kB / 300.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/0.1763, allocations: 365.1 kB / 300.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of SimCode: time 1.753e-06/0.1763, allocations: 0 / 300.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of Templates: time 0.02435/0.2006, allocations: 20.17 MB / 320.7 MB, free: 1.711 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] 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","",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.9773016832768917]